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
+1 -1
View File
@@ -36,7 +36,7 @@ if (!has_capability('moodle/site:config', context_system::instance())) {
die();
}
if (!empty($CFG->disableonclickaddoninstall)) {
if (!empty($CFG->disableupdateautodeploy)) {
header('HTTP/1.1 403 Forbidden');
die();
}