MDL-49329 admin: Clean up disabling of plugins code management features

The admin setting updateautodeploy no longer exists. The two existing
config.php flags $CFG->disableupdateautodeploy and
$CFG->disableonclickaddoninstall merged into a single one.
This commit is contained in:
David Mudrák
2015-10-10 09:11:19 +02:00
parent d9a5b810bd
commit b0fc789878
12 changed files with 79 additions and 22 deletions
+5
View File
@@ -364,6 +364,11 @@ $CFG->yuipatchlevel = 0;
$CFG->yuipatchedmodules = array(
);
if (!empty($CFG->disableonclickaddoninstall)) {
// This config.php flag has been merged into another one.
$CFG->disableupdateautodeploy = true;
}
// Store settings from config.php in array in $CFG - we can use it later to detect problems and overrides.
if (!isset($CFG->config_php_settings)) {
$CFG->config_php_settings = (array)$CFG;