aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-01-18 08:46:37 +0000
committerMario <mario@mariovavti.com>2021-01-18 08:46:37 +0000
commit917c6caa14e8b72a3e981b3940a8f56e9814647d (patch)
treec83b5a19911c6320e9baf93c21cfe045eb914f70
parentcd59c67c678f2ac1cc8457c05e5420d38df152cc (diff)
downloadvolse-hubzilla-917c6caa14e8b72a3e981b3940a8f56e9814647d.tar.gz
volse-hubzilla-917c6caa14e8b72a3e981b3940a8f56e9814647d.tar.bz2
volse-hubzilla-917c6caa14e8b72a3e981b3940a8f56e9814647d.zip
force arg is not used anymore in drop_item_lolevel()
-rwxr-xr-xinclude/items.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/items.php b/include/items.php
index 69c056f7e..bfca354d1 100755
--- a/include/items.php
+++ b/include/items.php
@@ -3970,10 +3970,10 @@ function drop_item($id,$interactive = true,$stage = DROPITEM_NORMAL) {
);
if($items) {
foreach($items as $i)
- delete_item_lowlevel($i,$stage,$force);
+ delete_item_lowlevel($i, $stage);
}
else
- delete_item_lowlevel($item,$stage,$force);
+ delete_item_lowlevel($item, $stage);
if(! $interactive)
return 1;
@@ -4007,7 +4007,6 @@ function drop_item($id,$interactive = true,$stage = DROPITEM_NORMAL) {
*
* @param array $item
* @param int $stage
- * @param boolean $force
* @return boolean
*/
function delete_item_lowlevel($item, $stage = DROPITEM_NORMAL) {