]> git.mxchange.org Git - friendica.git/commitdiff
Issue 5913: Fix fatal error in "RemoveUser"
authorMichael <heluecht@pirati.ca>
Fri, 26 Oct 2018 04:27:23 +0000 (04:27 +0000)
committerMichael <heluecht@pirati.ca>
Fri, 26 Oct 2018 04:27:23 +0000 (04:27 +0000)
src/Model/Item.php

index 1c0b11db4aae80c6b3db9c5e2782b08940b96e46..a39093d78546303ffd156babc22e2e13fd511845 100644 (file)
@@ -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',