diff options
author | Christoph Schulthess | 2017-02-23 14:43:05 +0100 |
---|---|---|
committer | Christoph Schulthess | 2017-02-23 14:43:05 +0100 |
commit | a87a14b9dc6670d1111b8204ae7a1ca14d814c57 (patch) | |
tree | 6b3c528804a91ced4ee14bbc4c31fb24541aa4c5 /apis | |
parent | debugrequest updated, using default SSL Relay Task (diff) | |
parent | [inc/property] Add list-of-values interface (diff) | |
download | slx-admin-a87a14b9dc6670d1111b8204ae7a1ca14d814c57.tar.gz slx-admin-a87a14b9dc6670d1111b8204ae7a1ca14d814c57.tar.xz slx-admin-a87a14b9dc6670d1111b8204ae7a1ca14d814c57.zip |
Merge branch 'master' of git.openslx.org:openslx-ng/slx-admin into remote-debug
Diffstat (limited to 'apis')
-rw-r--r-- | apis/cron.inc.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apis/cron.inc.php b/apis/cron.inc.php index 8068eb2e..470c70e6 100644 --- a/apis/cron.inc.php +++ b/apis/cron.inc.php @@ -26,6 +26,9 @@ foreach (glob('modules/*/hooks/cron.inc.php') as $file) { } switch (mt_rand(1, 10)) { +case 2: + Database::exec("DELETE FROM property_list WHERE dateline <> 0 AND dateline < UNIX_TIMESTAMP()"); + break; case 3: Database::exec("DELETE FROM property WHERE dateline <> 0 AND dateline < UNIX_TIMESTAMP()"); break; |