From: Michael Date: Tue, 16 Jan 2018 22:46:20 +0000 (+0000) Subject: Oh, standards ... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f30275f6db39099ed0da85df416625b18a497096;p=friendica.git Oh, standards ... --- diff --git a/src/Model/Item.php b/src/Model/Item.php index 19225beab5..06c6252742 100644 --- a/src/Model/Item.php +++ b/src/Model/Item.php @@ -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;