aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/files/filesystem.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/private/files/filesystem.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/private/files/filesystem.php')
-rw-r--r--lib/private/files/filesystem.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/private/files/filesystem.php b/lib/private/files/filesystem.php
index 3d55564f0c6..ed2be59c092 100644
--- a/lib/private/files/filesystem.php
+++ b/lib/private/files/filesystem.php
@@ -688,10 +688,11 @@ class Filesystem {
/**
* @param string|int $tag name or tag id
+ * @param string $userId owner of the tags
* @return FileInfo[] array or file info
*/
- static public function searchByTag($tag) {
- return self::$defaultInstance->searchByTag($tag);
+ static public function searchByTag($tag, $userId) {
+ return self::$defaultInstance->searchByTag($tag, $userId);
}
/**