From: Roland Haeder Date: Sun, 2 Apr 2017 19:29:06 +0000 (+0200) Subject: Fixes for composer: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6cb26f884e4622ead2469663b8afd055971379b9;p=friendica.git Fixes for composer: - ./vendor/ is being prepared by executing `utils/composer.phar install`, no need to have it around - converted .gitignore to LF line-ending (more common over the whole project) - no need to have them around ... Signed-off-by: Roland Häder --- diff --git a/mod/photos.php b/mod/photos.php index 92fdfb0484..727ecb3cc1 100644 --- a/mod/photos.php +++ b/mod/photos.php @@ -1229,9 +1229,6 @@ function photos_content(App $a) * The query leads to a really intense used index. * By now we hide it if someone wants to. */ - if (!Config::get('system', 'no_count', false)) { - $order_field = defaults($_GET, 'order', ''); - if ($order_field === 'posted') { if (!Config::get('system', 'no_count', false)) { if ($_GET['order'] === 'posted') { $order = 'ASC';