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 <roland@mxchange.org>
This commit is contained in:
Roland Häder 2017-04-02 21:29:06 +02:00 committed by Roland Häder
parent 7c048b5077
commit 6cb26f884e
No known key found for this signature in database
GPG key ID: B72F8185C6C7BD78

View 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';