diff options
author | Andrew Dolgov <[email protected]> | 2013-04-24 14:26:03 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-04-24 14:26:05 +0400 |
commit | 654650857ffc3e4914c9655528e1037939f75f54 (patch) | |
tree | 61c73028db36b6425b67fd4a03f25f9a36cb3641 /include/rssfuncs.php | |
parent | 8cabc200d5f50327641c6c3ee615095f632afd87 (diff) |
reduce daemon chattiness a bit
Diffstat (limited to 'include/rssfuncs.php')
-rw-r--r-- | include/rssfuncs.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/rssfuncs.php b/include/rssfuncs.php index f4fa18dc9..48638f57e 100644 --- a/include/rssfuncs.php +++ b/include/rssfuncs.php @@ -1169,7 +1169,7 @@ } function expire_lock_files($debug) { - if ($debug) _debug("Removing old lock files..."); + //if ($debug) _debug("Removing old lock files..."); $num_deleted = 0; @@ -1186,14 +1186,14 @@ } } - if ($debug) _debug("Removed $num_deleted files."); + if ($debug) _debug("Removed $num_deleted old lock files."); } function expire_cached_files($debug) { foreach (array("simplepie", "images", "export", "upload") as $dir) { $cache_dir = CACHE_DIR . "/$dir"; - if ($debug) _debug("Expiring $cache_dir"); +// if ($debug) _debug("Expiring $cache_dir"); $num_deleted = 0; @@ -1211,7 +1211,7 @@ } } - if ($debug) _debug("Removed $num_deleted files."); + if ($debug) _debug("$cache_dir: removed $num_deleted files."); } } |