diff options
author | Max Kostikov <max@kostikov.co> | 2019-11-25 14:08:29 +0100 |
---|---|---|
committer | Max Kostikov <max@kostikov.co> | 2019-11-25 14:08:29 +0100 |
commit | dafac11aaa15e54c92b787393658d303f4ce84e4 (patch) | |
tree | 85952ac00cbef0e1a07b7265c6326326082084f5 | |
parent | 1fc81457a1e4ea93cc1db01ffac6a194ff4bc22d (diff) | |
download | volse-hubzilla-dafac11aaa15e54c92b787393658d303f4ce84e4.tar.gz volse-hubzilla-dafac11aaa15e54c92b787393658d303f4ce84e4.tar.bz2 volse-hubzilla-dafac11aaa15e54c92b787393658d303f4ce84e4.zip |
Remove move unused cache cleanup to cron
-rw-r--r-- | Zotlabs/Lib/Cache.php | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/Zotlabs/Lib/Cache.php b/Zotlabs/Lib/Cache.php index bda8de6f5..4bfb6dec7 100644 --- a/Zotlabs/Lib/Cache.php +++ b/Zotlabs/Lib/Cache.php @@ -42,12 +42,5 @@ class Cache { dbesc(datetime_convert())); } } - - - public static function clear() { - q("DELETE FROM cache WHERE updated < '%s'", - dbesc(datetime_convert('UTC','UTC',"now - 30 days"))); - } - } |