From 590fbe8c6f809e54dfc054037215509fee392744 Mon Sep 17 00:00:00 2001 From: Jonny Tischbein Date: Sat, 17 Nov 2018 17:27:12 +0100 Subject: [PATCH] More Code Standard --- mod/filerm.php | 5 ++--- mod/network.php | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/mod/filerm.php b/mod/filerm.php index d8da0e1255..30a7f69df9 100644 --- a/mod/filerm.php +++ b/mod/filerm.php @@ -27,9 +27,8 @@ function filerm_content(App $a) Logger::log('filerm: tag ' . $term . ' item ' . $item_id . ' category ' . ($category ? 'true' : 'false')); - if ($item_id && strlen($term)) - { - if (FileTag::unsaveFile(local_user(), $item_id, $term, $category)){ + if ($item_id && strlen($term)) { + if (FileTag::unsaveFile(local_user(), $item_id, $term, $category)) { info('Item removed'); } } diff --git a/mod/network.php b/mod/network.php index 1e744bd259..ba02ee5cc3 100644 --- a/mod/network.php +++ b/mod/network.php @@ -394,7 +394,7 @@ function network_content(App $a, $update = 0, $parent = 0) $o = networkThreadedView($a, $update, $parent); } - if ($o === ''){ + if ($o === '') { info("No items found"); } @@ -472,7 +472,7 @@ function networkFlatView(App $a, $update = 0) } DBA::close($result); - if (count($posts) == 0){ + if (count($posts) == 0) { return ''; } $condition = ['uid' => local_user(), 'id' => $posts]; -- 2.39.5