]> git.mxchange.org Git - friendica.git/commitdiff
Fixes for composer:
authorRoland Haeder <roland@mxchange.org>
Sun, 2 Apr 2017 19:29:06 +0000 (21:29 +0200)
committerRoland Häder <roland@mxchange.org>
Wed, 20 Jun 2018 20:02:17 +0000 (22:02 +0200)
- ./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 <roland@mxchange.org>
mod/photos.php

index 92fdfb0484ad9aa266b20f3afea43527a617b0c5..727ecb3cc1e1af2af0ffbb53902e375c207a6d18 100644 (file)
@@ -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';