Merge branch 'MDL-37943_24' of git://github.com/timhunt/moodle into MOODLE_24_STABLE
This commit is contained in:
+1
-2
@@ -823,8 +823,7 @@ function upgrade_plugins_blocks($startcallback, $endcallback, $verbose) {
|
||||
|
||||
if ($currblock->cron != $block->cron) {
|
||||
// update cron flag if needed
|
||||
$currblock->cron = $block->cron;
|
||||
$DB->update_record('block', $currblock);
|
||||
$DB->set_field('block', 'cron', $block->cron, array('id' => $currblock->id));
|
||||
}
|
||||
|
||||
// Upgrade various components
|
||||
|
||||
Reference in New Issue
Block a user