-
Bug
-
Resolution: Fixed
-
Major
-
2.9
-
MOODLE_29_STABLE
-
MOODLE_27_STABLE, MOODLE_28_STABLE
-
MDL-49911-master -
Reported by Mary on QA site:
Notice: Undefined property: stdClass::$updateminmaturity in /var/www/vhosts/qa.moodle.net/html/admin/index.php on line 563 Notice: Undefined property: stdClass::$updatenotifybuilds in /var/www/vhosts/qa.moodle.net/html/admin/index.php on line 563
|
The problem is, the admin tree code is doing:
if (empty($CFG->disableupdatenotifications)) {
|
$temp = new admin_settingpage('updatenotifications', new lang_string('updatenotifications', 'core_admin'));
|
$temp->add(new admin_setting_configcheckbox('updateautocheck', new lang_string('updateautocheck', 'core_admin'),
|
new lang_string('updateautocheck_desc', 'core_admin'), 1));
|
if (empty($CFG->disableupdateautodeploy)) {
|
etc.
That is the wrong approach because it causes some settings never to be set.
This would be resolved by MDL-49363.
- will be (partly) resolved by
-
MDL-49363 Admin setting abstraction to allow setting to be hidden/disabled when dependent on other settings
-
- Closed
-