Commit f8fa070e authored by Penny Leach's avatar Penny Leach
Browse files

fixing bug in upgrade where version wasn't bumped and plugins were trying to...

fixing bug in upgrade where version wasn't bumped and plugins were trying to be installed unnecessarily
parent 96760713
......@@ -862,14 +862,17 @@ function xmldb_core_upgrade($oldversion=0) {
if ($oldversion < 2008021200) {
// Install the new auth plugins and the group forums
$data = check_upgrades('auth.none');
upgrade_plugin($data);
if ($data = check_upgrades('auth.none')) {
upgrade_plugin($data);
}
$data = check_upgrades('auth.ldap');
upgrade_plugin($data);
if ($data = check_upgrades('auth.ldap')) {
upgrade_plugin($data);
}
$data = check_upgrades('interaction.forum');
upgrade_plugin($data);
if ($data = check_upgrades('interaction.forum')) {
upgrade_plugin($data);
}
}
return $status;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment