Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge branch 'MDL-37943' of git://github.com/timhunt/moodle
  • Loading branch information
stronk7 committed Feb 12, 2013
2 parents ce9c323 + 1fa8454 commit e8e6802
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/upgradelib.php
Expand Up @@ -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
Expand Down

0 comments on commit e8e6802

Please sign in to comment.