aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Daemon/Importdoc.php
diff options
context:
space:
mode:
Diffstat (limited to 'Zotlabs/Daemon/Importdoc.php')
-rw-r--r--Zotlabs/Daemon/Importdoc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Daemon/Importdoc.php b/Zotlabs/Daemon/Importdoc.php
index 8f04e05f8..bb30c4373 100644
--- a/Zotlabs/Daemon/Importdoc.php
+++ b/Zotlabs/Daemon/Importdoc.php
@@ -43,7 +43,7 @@ class Importdoc {
}
// remove old files that weren't updated (indicates they were most likely deleted).
- $i = q("select * from item where item_type = 5 and edited < %s - %s",
+ $i = q("select * from item where item_type = 5 and edited < %s - INTERVAL %s",
db_utcnow(),
db_quoteinterval('14 DAY', true)
);