make the log message reflect what's really happening
This commit is contained in:
parent
3d60008842
commit
1f427e0e5b
@ -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
|
||||||
|
Reference in New Issue
Block a user