]> git.mxchange.org Git - friendica.git/blobdiff - include/photos.php
Global is an integer, do not set it to an empty string
[friendica.git] / include / photos.php
index f3043e44ac97500e748971fdd4f6c738c08a807b..9d8d3309c2bb49d0abce8e5e8a68e653021d5bc0 100644 (file)
@@ -57,7 +57,6 @@ function photo_albums($uid, $update = false) {
                                dbesc(t('Contact Photos'))
                        );
                } else {
-// USE INDEX (`uid_album`)
                        // This query doesn't do the count and is much faster
                        $albums = qu("SELECT DISTINCT(`album`), '' AS `total`
                                FROM `photo`