X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=twitter%2Ftwitter_sync.php;h=b2c655e7c809b0fb6e00cdfad159d9d6b77745cb;hb=80ec21c76bc7a0cc5f1e73acf91db16ceaa06b04;hp=5d6e8b2ffb28d30be9e5f19cda4b0490d587468d;hpb=6a809a926c1818232c3ebafbffe5b4fd54eae805;p=friendica-addons.git diff --git a/twitter/twitter_sync.php b/twitter/twitter_sync.php index 5d6e8b2f..b2c655e7 100644 --- a/twitter/twitter_sync.php +++ b/twitter/twitter_sync.php @@ -1,15 +1,18 @@ Config::get('system', 'maxloadavg', 50)) { - logger('system: load ' . $load[0] . ' too high. Twitter sync deferred to next scheduled run.'); + Logger::log('system: load ' . $load[0] . ' too high. Twitter sync deferred to next scheduled run.'); return; } } @@ -27,4 +30,3 @@ function twitter_sync_run($argv, $argc) { twitter_fetchhometimeline($a, $uid); } } -?>