Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Duplicate
-
Affects Version/s: 2.5
-
Fix Version/s: None
-
Component/s: Installation
-
Affected Branches:MOODLE_25_STABLE
Description
Detected while fixing MDL-39006 and MDL-42931.
Right now, apart from the environmental checks of the PHP version, there are a lot of code duplicated performing the same PHP version check here and there (installers, some cli utilities, setup.php...).
Some of them are 100% redundant and others could be put under a unique function somewhere instead of having to modify manually all them. Ideally the version should be read from some common place too.
That is, a little improvement for 2.6.
Ciao
Attachments
Issue Links
- duplicates
-
MDL-57432 Decide Moodle 3.4 requirements and push them to environment.xml (due date: 29/05/2017)
-
- Closed
-
- has been marked as being related by
-
MDL-54901 Decide Moodle 3.3 requirements and push them to environment.xml (due date: 5/12/2016)
-
- Closed
-
-
MDL-57432 Decide Moodle 3.4 requirements and push them to environment.xml (due date: 29/05/2017)
-
- Closed
-
-
MDL-53019 Decide Moodle 3.2 requirements and push them to environment.xml (due date: 13/06/2016)
-
- Closed
-
- Testing discovered
-
MDL-39006 Move on to 5.3.3 in harcoded dependencies for Moodle 2.5
-
- Closed
-