aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2019-11-25 13:32:58 +0000
committerMario <mario@mariovavti.com>2019-11-25 21:58:36 +0100
commit7899ed6f69cbd1d16862295c4499d35ddbcefd8a (patch)
tree8700e0a7053e32923851ca6203ca6e7069a629f6
parent5e442396570f6ec0ec9f27f209ef9d40e95d114a (diff)
downloadvolse-hubzilla-7899ed6f69cbd1d16862295c4499d35ddbcefd8a.tar.gz
volse-hubzilla-7899ed6f69cbd1d16862295c4499d35ddbcefd8a.tar.bz2
volse-hubzilla-7899ed6f69cbd1d16862295c4499d35ddbcefd8a.zip
Revert "Add daily cached embedded content cleanup"
This reverts commit 5c47c9ed9579dc97e0a508045fe50264bb96490b (cherry picked from commit 38de059156f9a6ec63727d47a96d1b15e96e3b47)
-rw-r--r--Zotlabs/Daemon/Cron_daily.php6
1 files changed, 0 insertions, 6 deletions
diff --git a/Zotlabs/Daemon/Cron_daily.php b/Zotlabs/Daemon/Cron_daily.php
index b0eefe93a..dbfcff439 100644
--- a/Zotlabs/Daemon/Cron_daily.php
+++ b/Zotlabs/Daemon/Cron_daily.php
@@ -88,12 +88,6 @@ class Cron_daily {
z6_discover();
call_hooks('cron_daily',datetime_convert());
-
- // Clean up emdeded contect cache
- q("DELETE FROM cache WHERE updated < %s - INTERVAL %s",
- db_utcnow(),
- db_quoteinterval(get_config('system','active_expire_days', '30') . ' DAY')
- );
set_config('system','last_expire_day',intval(datetime_convert('UTC','UTC','now','d')));