This increases the amount of fields held in the $OVERRIDDEN. I don't think that this is a major problem as only the field name is stored in the array, not the field value.
This doesn't handle plugin setting overrides, but none of the plugins handle this at present anyway. -- You received this bug notification because you are a member of Mahara Reviewers, which is subscribed to Mahara. https://bugs.launchpad.net/bugs/803955 Title: Overridden site admin fields not disabled unless also stored in database Status in Mahara ePortfolio: In Progress Bug description: If you explicitly set a field in config.php, then it /should/ be disabled in admin/site/options.php This currently only happens if that setting is also stored in the database. As a result, users believe that they can change the option, but when they then try to, the option is unset, the field greyed out, and there is no message informing them that they can't change the setting. This appears to stem from the way that the $OVERRIDDEN variable is filled in lib/mahara.php->load_config(). At present, this grabs all config options set in the database. For any option in the database, it then checks for an override, and if it's already present in $CFG, it adds this to the OVERRIDDEN array. If it isn't present in $CFG already, it adds it to $CFG so that it's accessible. Have a patch to submit for this. Affects 1.4.x and master To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/803955/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~mahara-core Post to : [email protected] Unsubscribe : https://launchpad.net/~mahara-core More help : https://help.launchpad.net/ListHelp

