[fix] cron rolling curl call INSIDE the loop :/

This commit is contained in:
Benjamin Sonntag 2018-02-28 10:39:55 +01:00
parent 24b37b2777
commit f392ad11a0
1 changed files with 2 additions and 3 deletions

View File

@ -240,10 +240,9 @@ class m_cron {
if (empty($urllist)) { // nothing to do :
exit(0);
}
// cron_callback($url, $content, $curlobj) will be called at the end of each http call.
$this->rolling_curl($urllist, array("m_cron", "cron_callback"));
}
// cron_callback($url, $content, $curlobj) will be called at the end of each http call.
$this->rolling_curl($urllist, array("m_cron", "cron_callback"));
}