log the offending dir server

This commit is contained in:
friendica 2014-06-29 18:24:34 -07:00
parent a1b8e5b445
commit 436b44cb19

View File

@ -99,6 +99,8 @@ function sync_directories($dirmode) {
if(! $rr['site_directory'])
continue;
logger('sync directories: ' . $rr['site_directory']);
// for brand new directory servers, only load the last couple of days. Everything before that will be repeats.
$syncdate = (($rr['site_sync'] === '0000-00-00 00:00:00') ? datetime_convert('UTC','UTC','now - 2 days') : $rr['site_sync']);