Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'MDL-37943_23' of git://github.com/timhunt/moodle into M…

…OODLE_23_STABLE
  • Loading branch information...
commit bced529e0e0cfc5ad5a7b1a0e676d905da786325 2 parents 596881d + abbda1f
@stronk7 stronk7 authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  lib/upgradelib.php
View
3  lib/upgradelib.php
@@ -821,8 +821,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
Please sign in to comment.
Something went wrong with that request. Please try again.