diff options
author | Vincent Petry <pvince81@owncloud.com> | 2014-12-10 15:59:41 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2014-12-11 12:22:28 +0100 |
commit | 745d8706b973ff0494af54f183acc0da361f0e83 (patch) | |
tree | 33830b5690368c6c1e66a6bf1125635975a2490e /lib/public | |
parent | 5101bc54faea28d1210eb24f72abd76944c83af6 (diff) | |
download | nextcloud-server-745d8706b973ff0494af54f183acc0da361f0e83.tar.gz nextcloud-server-745d8706b973ff0494af54f183acc0da361f0e83.zip |
Add user parameter to tag manager
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/itagmanager.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/public/itagmanager.php b/lib/public/itagmanager.php index 54daa5cc1cb..ac80eebc72d 100644 --- a/lib/public/itagmanager.php +++ b/lib/public/itagmanager.php @@ -43,14 +43,15 @@ namespace OCP; interface ITagManager { /** - * Create a new \OCP\ITags instance and load tags from db. + * Create a new \OCP\ITags instance and load tags from db for the current user. * * @see \OCP\ITags * @param string $type The type identifier e.g. 'contact' or 'event'. * @param array $defaultTags An array of default tags to be used if none are stored. * @param boolean $includeShared Whether to include tags for items shared with this user by others. + * @param string $userId user for which to retrieve the tags, defaults to the currently + * logged in user * @return \OCP\ITags */ - public function load($type, $defaultTags=array(), $includeShared=false); - + public function load($type, $defaultTags = array(), $includeShared = false, $userId = null); } |