aboutsummaryrefslogtreecommitdiffstats
path: root/include/feedutils.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2024-11-08 20:18:20 +0100
committerMario Vavti <mario@mariovavti.com>2024-11-08 20:18:20 +0100
commit0481901b593f861366f9a766e0f020cce7a31be7 (patch)
tree9bf66881b0c0564fb6881831d1eaa06df6657e09 /include/feedutils.php
parent4b4cac63fd4597b5c3090377196c8ad970900b21 (diff)
downloadvolse-hubzilla-0481901b593f861366f9a766e0f020cce7a31be7.tar.gz
volse-hubzilla-0481901b593f861366f9a766e0f020cce7a31be7.tar.bz2
volse-hubzilla-0481901b593f861366f9a766e0f020cce7a31be7.zip
refactor drop_item[s]() for containers
Diffstat (limited to 'include/feedutils.php')
-rw-r--r--include/feedutils.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/feedutils.php b/include/feedutils.php
index a50214746..cc57d106c 100644
--- a/include/feedutils.php
+++ b/include/feedutils.php
@@ -998,7 +998,7 @@ function process_feed_tombstones($feed,$importer,$contact,$pass) {
if(! intval($item['item_deleted'])) {
logger('deleting item ' . $item['id'] . ' mid=' . $item['mid'], LOGGER_DEBUG);
- drop_item($item['id'],false);
+ drop_item($item['id']);
}
}
}
@@ -1181,7 +1181,7 @@ function consume_feed($xml, $importer, &$contact, $pass = 0) {
&& $datarray['author_xchan'] === $r[0]['author_xchan']) {
if(! intval($r[0]['item_deleted'])) {
logger('deleting item ' . $r[0]['id'] . ' mid=' . $datarray['mid'], LOGGER_DEBUG);
- drop_item($r[0]['id'],false);
+ drop_item($r[0]['id']);
}
continue;
}
@@ -1449,7 +1449,7 @@ function consume_feed($xml, $importer, &$contact, $pass = 0) {
&& isset($datarray['author_xchan']) && $datarray['author_xchan'] === $r[0]['author_xchan']) {
if(! intval($r[0]['item_deleted'])) {
logger('deleting item ' . $r[0]['id'] . ' mid=' . $datarray['mid'], LOGGER_DEBUG);
- drop_item($r[0]['id'],false);
+ drop_item($r[0]['id']);
}
continue;
}