From 6cb26f884e4622ead2469663b8afd055971379b9 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Sun, 2 Apr 2017 21:29:06 +0200 Subject: [PATCH] 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 ... MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- mod/photos.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/mod/photos.php b/mod/photos.php index 92fdfb048..727ecb3cc 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';