Commit 78cfd0d2 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Stop previous cron upgrade hanging with floating login form


Signed-off-by: default avatarRichard Mansfield <richard.mansfield@catalyst.net.nz>
parent 55a8fead
......@@ -27,7 +27,7 @@
defined('INTERNAL') || die();
$config = new StdClass;
$config->version = 2010100700;
$config->version = 2010100702;
$config->release = '0.0.1';
?>
......@@ -25,7 +25,7 @@
*
*/
$config->version = 2010100700;
$config->version = 2010100702;
$config->release = '1.2.1';
?>
......@@ -2193,7 +2193,7 @@ function xmldb_core_upgrade($oldversion=0) {
);
}
if ($oldversion < 2010100701) {
if ($oldversion < 2010100702) {
// Add general notification cleanup cron
if (!record_exists('cron', 'callfunction', 'cron_clean_internal_activity_notifications')) {
$cron = new StdClass;
......@@ -2205,16 +2205,6 @@ function xmldb_core_upgrade($oldversion=0) {
$cron->dayofweek = '*';
insert_record('cron', $cron);
}
// Add forum notification cleanup cron
if ($data = check_upgrades('interaction.forum')) {
upgrade_plugin($data);
}
// Add feedback notification cleanup cron
if ($data = check_upgrades('artefact.comment')) {
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