From 348e0300a6365770f62daec2bbbc01ceaca3740f Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 26 Oct 2018 04:27:23 +0000 Subject: [PATCH] Issue 5913: Fix fatal error in "RemoveUser" --- src/Model/Item.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Model/Item.php b/src/Model/Item.php index 1c0b11db4a..a39093d785 100644 --- a/src/Model/Item.php +++ b/src/Model/Item.php @@ -974,7 +974,7 @@ class Item extends BaseObject * * @return boolean success */ - private static function deleteById($item_id, $priority = PRIORITY_HIGH) + public static function deleteById($item_id, $priority = PRIORITY_HIGH) { // locate item to be deleted $fields = ['id', 'uri', 'uid', 'parent', 'parent-uri', 'origin',