aboutsummaryrefslogtreecommitdiffstats
path: root/include/connections.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/connections.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/connections.php')
-rw-r--r--include/connections.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/connections.php b/include/connections.php
index efc531171..7500647b4 100644
--- a/include/connections.php
+++ b/include/connections.php
@@ -342,7 +342,7 @@ function remove_all_xchan_resources($xchan, $channel_id = 0) {
if($r) {
foreach($r as $rr) {
- drop_item($rr['id'],false);
+ drop_item($rr['id']);
}
}
@@ -513,7 +513,7 @@ function remove_abook_items($channel_id, $xchan_hash) {
continue;
}
- drop_item($rr['id'],false);
+ drop_item($rr['id']);
}
}