make the log message reflect what's really happening

This commit is contained in:
friendica 2015-03-24 16:30:14 -07:00
parent 3d60008842
commit 1f427e0e5b

View File

@ -53,7 +53,9 @@ function expire_run($argv, $argc){
continue; continue;
// if the site expiration is non-zero and less than person expiration, use that // if the site expiration is non-zero and less than person expiration, use that
logger('Expire: ' . $rr['channel_address'] . ' interval: ' . $rr['channel_expire_days'], LOGGER_DEBUG); logger('Expire: ' . $rr['channel_address'] . ' interval: ' . ((intval($site_expire) && intval($site_expire) < intval($rr['channel_expire_days']))
? $site_expire
: $rr['channel_expire_days']), LOGGER_DEBUG);
item_expire($rr['channel_id'], item_expire($rr['channel_id'],
((intval($site_expire) && intval($site_expire) < intval($rr['channel_expire_days'])) ((intval($site_expire) && intval($site_expire) < intval($rr['channel_expire_days']))
? $site_expire ? $site_expire