X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=inline;f=include%2Fexpire.php;h=5fa0ec758b3d723b45ac53b2a7b0dd0a951962ec;hb=ac86407fdf34b0bb872da017231a8c23a84f277b;hp=7608b905467f0f83a90c634bc5f72a081cf0199a;hpb=c76b224d8ac79d10ee68134d5585e0832e49a3c8;p=friendica.git diff --git a/include/expire.php b/include/expire.php index 7608b90546..5fa0ec758b 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');