aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2019-11-25 14:08:29 +0100
committerMax Kostikov <max@kostikov.co>2019-11-25 14:08:29 +0100
commitdafac11aaa15e54c92b787393658d303f4ce84e4 (patch)
tree85952ac00cbef0e1a07b7265c6326326082084f5
parent1fc81457a1e4ea93cc1db01ffac6a194ff4bc22d (diff)
downloadvolse-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.php7
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")));
- }
-
}