mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
Merge branch 'MDL-37943_23' of git://github.com/timhunt/moodle into MOODLE_23_STABLE
This commit is contained in:
commit
bced529e0e
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue