MDL-18293 exception and DML cleanup

This commit is contained in:
skodak 2009-02-17 17:23:56 +00:00
parent 68fbad4417
commit 013376dec4
4 changed files with 45 additions and 56 deletions

View file

@ -242,16 +242,11 @@ function config_form($frm) {
* @param config all the configuration data as entered by the admin
*/
function process_config($config) {
$return = true;
foreach ($config as $name => $value) {
if (!set_config($name, $value)) {
$return = false;
}
set_config($name, $value);
}
return $return;
return true;
}