aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/lib
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-12-18 15:36:18 +0100
committerVincent Petry <pvince81@owncloud.com>2014-12-18 15:36:18 +0100
commit4b1b93507df4f7c9e0792c0de330ca358d9d38e0 (patch)
tree148f52000caed6429533a822410ef5bcf0ac67fd /apps/files/lib
parent10a0fc2856bfa68ff04a42f141829a6e66a9b2da (diff)
downloadnextcloud-server-4b1b93507df4f7c9e0792c0de330ca358d9d38e0.tar.gz
nextcloud-server-4b1b93507df4f7c9e0792c0de330ca358d9d38e0.zip
Only populate tags in main file list
Moved populateTags to be done on the main file list. This prevents the public file list to go through the same code and cause an error when there is no user.
Diffstat (limited to 'apps/files/lib')
-rw-r--r--apps/files/lib/helper.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/apps/files/lib/helper.php b/apps/files/lib/helper.php
index 7adca3ffa6d..4a8af59475b 100644
--- a/apps/files/lib/helper.php
+++ b/apps/files/lib/helper.php
@@ -174,7 +174,6 @@ class Helper
*/
public static function getFiles($dir, $sortAttribute = 'name', $sortDescending = false) {
$content = \OC\Files\Filesystem::getDirectoryContent($dir);
- $content = self::populateTags($content);
return self::sortFiles($content, $sortAttribute, $sortDescending);
}