diff options
author | friendica <info@friendica.com> | 2015-03-24 16:30:14 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2015-03-24 16:30:14 -0700 |
commit | 1f427e0e5b3a5526625e90d43746c89953ab493a (patch) | |
tree | f51bded0df8e95c5d7910c108336ea5cfb07389c /include | |
parent | 3d600088424d2e1f71c7b5ae7571a8a101e9e8e2 (diff) | |
download | volse-hubzilla-1f427e0e5b3a5526625e90d43746c89953ab493a.tar.gz volse-hubzilla-1f427e0e5b3a5526625e90d43746c89953ab493a.tar.bz2 volse-hubzilla-1f427e0e5b3a5526625e90d43746c89953ab493a.zip |
make the log message reflect what's really happening
Diffstat (limited to 'include')
-rw-r--r-- | include/expire.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/expire.php b/include/expire.php index 8fedf71b5..9ef0f7b69 100644 --- a/include/expire.php +++ b/include/expire.php @@ -53,7 +53,9 @@ function expire_run($argv, $argc){ continue; // 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'], ((intval($site_expire) && intval($site_expire) < intval($rr['channel_expire_days'])) ? $site_expire |