From: Michael Date: Fri, 26 Oct 2018 04:27:23 +0000 (+0000) Subject: Issue 5913: Fix fatal error in "RemoveUser" X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=348e0300a6365770f62daec2bbbc01ceaca3740f;p=friendica.git Issue 5913: Fix fatal error in "RemoveUser" --- 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',