diff options
author | Vincent Petry <pvince81@owncloud.com> | 2015-03-24 13:26:59 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2015-03-24 13:26:59 +0100 |
commit | 46475bf580f4895899a4b924a8970e91163e3c63 (patch) | |
tree | 9ed24f4f5202cc2ffb38c72be30aa154f83586c8 /lib | |
parent | c8af615c01c4fb9d0de2abd100bf0600d5403c88 (diff) | |
parent | 1a262631235445d6ba4d9d0b5bdbc84355e43e5c (diff) | |
download | nextcloud-server-46475bf580f4895899a4b924a8970e91163e3c63.tar.gz nextcloud-server-46475bf580f4895899a4b924a8970e91163e3c63.zip |
Merge pull request #15003 from owncloud/issue/14859-speed-up-favorite-list
Do not walk over the users directory, but over the list of tagged objects
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/tags.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/private/tags.php b/lib/private/tags.php index 200ec8c2771..276da9d4b80 100644 --- a/lib/private/tags.php +++ b/lib/private/tags.php @@ -34,8 +34,8 @@ namespace OC; -use \OC\Tagging\Tag, - \OC\Tagging\TagMapper; +use \OC\Tagging\Tag; +use \OC\Tagging\TagMapper; class Tags implements \OCP\ITags { @@ -248,6 +248,7 @@ class Tags implements \OCP\ITags { * * @param string $tag Tag id or name. * @return array|false An array of object ids or false on error. + * @throws \Exception */ public function getIdsForTag($tag) { $result = null; |