From: Martin Dougiamas Date: Thu, 17 Dec 2009 03:47:00 +0000 (+0000) Subject: external blogs MDL-19683 Fixed a typo that meant cron synch was not working X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=1fc216ff788cc560aeff1630c2979abb36fa3390;p=moodle.git external blogs MDL-19683 Fixed a typo that meant cron synch was not working --- diff --git a/admin/cron.php b/admin/cron.php index 935d309823..e918f2ce10 100644 --- a/admin/cron.php +++ b/admin/cron.php @@ -552,7 +552,7 @@ $sql = "timefetched < ? - ? OR timefetched = 0"; $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); } }