]> git.mxchange.org Git - friendica.git/commitdiff
Merge pull request #6028 from annando/issue-5913
authorHypolite Petovan <hypolite@mrpetovan.com>
Fri, 26 Oct 2018 04:32:16 +0000 (00:32 -0400)
committerGitHub <noreply@github.com>
Fri, 26 Oct 2018 04:32:16 +0000 (00:32 -0400)
Issue 5913: Fix fatal error in "RemoveUser"

src/Model/Item.php

index 77828273bc7f27b159665194ad97ccdeb147c69d..e7358a776e8412b0a9f2be4c712e43ddb136ae0c 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',