]> git.mxchange.org Git - friendica.git/commitdiff
Function needed to be public, not private
authorMichael <heluecht@pirati.ca>
Sun, 28 Jan 2018 14:06:02 +0000 (14:06 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 28 Jan 2018 14:06:02 +0000 (14:06 +0000)
src/Model/Item.php

index ebfca310860c946df093ac2679f6612f15de7d8b..18606e16902e2bb2d0dd3f25b15ce81e343f3d56 100644 (file)
@@ -896,7 +896,7 @@ class Item
         *
         * @param integer $itemid Item ID that should be added
         */
-       private static function addShadowPost($itemid)
+       public static function addShadowPost($itemid)
        {
                $item = dba::selectFirst('item', [], ['id' => $itemid]);
                if (!DBM::is_result($item)) {