Merge branch 'MDL-37943' of git://github.com/timhunt/moodle
This commit is contained in:
+1
-2
@@ -825,8 +825,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