mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +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) {
|
if ($currblock->cron != $block->cron) {
|
||||||
// update cron flag if needed
|
// update cron flag if needed
|
||||||
$currblock->cron = $block->cron;
|
$DB->set_field('block', 'cron', $block->cron, array('id' => $currblock->id));
|
||||||
$DB->update_record('block', $currblock);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Upgrade various components
|
// Upgrade various components
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue