mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
external blogs MDL-19683 Fixed a typo that meant cron synch was not working
This commit is contained in:
parent
10d53fd349
commit
1fc216ff78
1 changed files with 1 additions and 1 deletions
|
@ -552,7 +552,7 @@
|
||||||
$sql = "timefetched < ? - ? OR timefetched = 0";
|
$sql = "timefetched < ? - ? OR timefetched = 0";
|
||||||
$externalblogs = $DB->get_records_select('blog_external', $sql, array(mktime(), $CFG->externalblogcrontime));
|
$externalblogs = $DB->get_records_select('blog_external', $sql, array(mktime(), $CFG->externalblogcrontime));
|
||||||
|
|
||||||
foreach ($external_blogs as $eb) {
|
foreach ($externalblogs as $eb) {
|
||||||
blog_sync_external_entries($eb);
|
blog_sync_external_entries($eb);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue