external blogs MDL-19683 Fixed a typo that meant cron synch was not working

This commit is contained in:
Martin Dougiamas 2009-12-17 03:47:00 +00:00
parent 10d53fd349
commit 1fc216ff78

View file

@ -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);
} }
} }