aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2025-01-04 10:20:40 +0000
committerMario <mario@mariovavti.com>2025-01-04 10:20:40 +0000
commit1624a2620a8e34f777ab0705a787873e4313fb6e (patch)
tree230395d9c3bc666f02645cf2b8e23fc64a48b0bb
parentf4769d0f04cafd8fbe1fa9fc72dcafc2d5d830ff (diff)
downloadvolse-hubzilla-1624a2620a8e34f777ab0705a787873e4313fb6e.tar.gz
volse-hubzilla-1624a2620a8e34f777ab0705a787873e4313fb6e.tar.bz2
volse-hubzilla-1624a2620a8e34f777ab0705a787873e4313fb6e.zip
remove redundant arguments
(cherry picked from commit 48ef4744acee2cab2202749182bab553c78e9e68) Co-authored-by: Mario Vavti <mario@mariovavti.com>
-rw-r--r--Zotlabs/Daemon/Importdoc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Daemon/Importdoc.php b/Zotlabs/Daemon/Importdoc.php
index fd5434be5..782eded96 100644
--- a/Zotlabs/Daemon/Importdoc.php
+++ b/Zotlabs/Daemon/Importdoc.php
@@ -45,12 +45,12 @@ class Importdoc {
// remove old files that weren't updated (indicates they were most likely deleted).
$i = q("select id, uid from item where item_type = 5 and edited < %s - INTERVAL %s",
db_utcnow(),
- db_quoteinterval('14 DAY', true)
+ db_quoteinterval('14 DAY')
);
if ($i) {
foreach ($i as $iv) {
- drop_item($iv['id'], DROPITEM_NORMAL, uid: $iv['uid']);
+ drop_item($iv['id'], uid: $iv['uid']);
}
}
}