]> git.mxchange.org Git - friendica.git/commitdiff
Oh, standards ...
authorMichael <heluecht@pirati.ca>
Tue, 16 Jan 2018 22:46:20 +0000 (22:46 +0000)
committerMichael <heluecht@pirati.ca>
Tue, 16 Jan 2018 22:46:20 +0000 (22:46 +0000)
src/Model/Item.php

index 19225beab5b4d1a39f0947feb93f34fac2a42408..06c62527420d89c720350855a8ece61fb5d249df 100644 (file)
@@ -72,7 +72,8 @@ class Item
         *
         * @param integer $itemid Item ID that should be added
         */
-       public static function addShadow($itemid) {
+       public static function addShadow($itemid)
+       {
                $fields = ['uid', 'wall', 'private', 'moderated', 'visible', 'contact-id', 'deleted', 'network', 'author-id', 'owner-id'];
                $condition = ["`id` = ? AND (`parent` = ? OR `parent` = 0)", $itemid, $itemid];
                $item = dba::selectFirst('item', $fields, $condition);
@@ -154,7 +155,8 @@ class Item
         *
         * @param integer $itemid Item ID that should be added
         */
-       public static function addShadowPost($itemid) {
+       public static function addShadowPost($itemid)
+       {
                $item = dba::selectFirst('item', [], ['id' => $itemid]);
                if (!DBM::is_result($item)) {
                        return;