Browse Source

Revert "Add daily cached embedded content cleanup"

This reverts commit 5c47c9ed95

(cherry picked from commit 38de059156)
master
Max Kostikov 1 year ago
committed by Mario
parent
commit
7899ed6f69
1 changed files with 0 additions and 6 deletions
  1. +0
    -6
      Zotlabs/Daemon/Cron_daily.php

+ 0
- 6
Zotlabs/Daemon/Cron_daily.php View File

@ -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')));

Loading…
Cancel
Save