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 | |
parent | 840f69e2c8ba014b89314191859ad0b8b35631d5 (diff) | |
download | volse-hubzilla-4cf6bd54693b460f3ac28d2760ff33b740493e39.tar.gz volse-hubzilla-4cf6bd54693b460f3ac28d2760ff33b740493e39.tar.bz2 volse-hubzilla-4cf6bd54693b460f3ac28d2760ff33b740493e39.zip |
do an optimise after an expunge
-rwxr-xr-x | boot.php | 2 | ||||
-rwxr-xr-x | include/expire.php | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -9,7 +9,7 @@ require_once('include/nav.php'); require_once('include/cache.php'); define ( 'FRIENDICA_PLATFORM', 'Friendica'); -define ( 'FRIENDICA_VERSION', '2.3.1242' ); +define ( 'FRIENDICA_VERSION', '2.3.1243' ); define ( 'DFRN_PROTOCOL_VERSION', '2.22' ); define ( 'DB_UPDATE_VERSION', 1119 ); 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'); |