summaryrefslogtreecommitdiffstats
path: root/lib/public/files/folder.php
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-12-12 11:18:35 +0100
committerVincent Petry <pvince81@owncloud.com>2014-12-12 11:18:35 +0100
commit15ecb28d50e5b8ce4100075caa52d96d4f00ae13 (patch)
tree02ca5b15c2a09afaa6a44a71fcf14d3c53184200 /lib/public/files/folder.php
parent25dde7e93bc648ec8cd14b8f2711d50f77d8d1bf (diff)
downloadnextcloud-server-15ecb28d50e5b8ce4100075caa52d96d4f00ae13.tar.gz
nextcloud-server-15ecb28d50e5b8ce4100075caa52d96d4f00ae13.zip
Make $userId mandatory for searchByTags
$userId is now a mandatory parameter for searchByTags. Also fixed some places in the code where the argument was missing (Node API and View)
Diffstat (limited to 'lib/public/files/folder.php')
-rw-r--r--lib/public/files/folder.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/public/files/folder.php b/lib/public/files/folder.php
index f54602d469d..9797fbc46ed 100644
--- a/lib/public/files/folder.php
+++ b/lib/public/files/folder.php
@@ -120,9 +120,10 @@ interface Folder extends Node {
* search for files by tag
*
* @param string|int $tag tag name or tag id
+ * @param string $userId owner of the tags
* @return \OCP\Files\Node[]
*/
- public function searchByTag($tag);
+ public function searchByTag($tag, $userId);
/**
* get a file or folder inside the folder by it's internal id