diff options
author | friendica <info@friendica.com> | 2012-02-02 18:02:08 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-02-02 18:02:08 -0800 |
commit | 4cf6bd54693b460f3ac28d2760ff33b740493e39 (patch) | |
tree | 8f948a97a148d9348d509d80e3a4b045a7f80820 /include/expire.php | |
parent | 840f69e2c8ba014b89314191859ad0b8b35631d5 (diff) | |
download | volse-hubzilla-4cf6bd54693b460f3ac28d2760ff33b740493e39.tar.gz volse-hubzilla-4cf6bd54693b460f3ac28d2760ff33b740493e39.tar.bz2 volse-hubzilla-4cf6bd54693b460f3ac28d2760ff33b740493e39.zip |
do an optimise after an expunge
Diffstat (limited to 'include/expire.php')
-rwxr-xr-x | include/expire.php | 4 |
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'); |