]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/Item.php
Function needed to be public, not private
[friendica.git] / 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)) {