aboutsummaryrefslogtreecommitdiffstats
path: root/include/expire.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-02-04 22:26:51 -0800
committerfriendica <info@friendica.com>2012-02-04 22:26:51 -0800
commita8163a6eaf5f63e1e83aa68191a0559b5d936acc (patch)
treea23b234160f09b87ddbb7fff3545946536ac80b9 /include/expire.php
parentf57fa90228f3861946c107982e50c8dd18314e96 (diff)
parent4cf6bd54693b460f3ac28d2760ff33b740493e39 (diff)
downloadvolse-hubzilla-a8163a6eaf5f63e1e83aa68191a0559b5d936acc.tar.gz
volse-hubzilla-a8163a6eaf5f63e1e83aa68191a0559b5d936acc.tar.bz2
volse-hubzilla-a8163a6eaf5f63e1e83aa68191a0559b5d936acc.zip
Merge branch 'master' into spam
Diffstat (limited to 'include/expire.php')
-rwxr-xr-xinclude/expire.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/expire.php b/include/expire.php
index 7608b9054..5fa0ec758 100755
--- a/include/expire.php
+++ b/include/expire.php
@@ -29,10 +29,10 @@ function expire_run($argv, $argc){
$a->set_baseurl(get_config('system','url'));
- // physically remove anything that has been deleted from more than two months
+ // physically remove anything that has been deleted for more than two months
$r = q("delete from item where deleted = 1 and changed < UTC_TIMESTAMP() - INTERVAL 60 DAY");
-
+ q("optimize table item");
logger('expire: start');