summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2013-09-27 05:18:12 -0700
committerThomas Müller <thomas.mueller@tmit.eu>2013-09-27 05:18:12 -0700
commit735608f51323218a098137a4992aeafff5806f5c (patch)
tree9d131d0d55cc3f549f26bd538a8cd66779c435b1 /lib
parentf47ff13abf65f0c66082333a55b8a108697aae97 (diff)
parentcd2421c7ee04e6d46481a1d0ae36387757b204fe (diff)
downloadnextcloud-server-735608f51323218a098137a4992aeafff5806f5c.tar.gz
nextcloud-server-735608f51323218a098137a4992aeafff5806f5c.zip
Merge pull request #4207 from owncloud/search_shared_files
add initial search in shared files
Diffstat (limited to 'lib')
-rw-r--r--lib/public/share.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/public/share.php b/lib/public/share.php
index 7a8a183574b..6c5783f1179 100644
--- a/lib/public/share.php
+++ b/lib/public/share.php
@@ -760,10 +760,10 @@ class Share {
/**
* @brief Get the backend class for the specified item type
- * @param string Item type
- * @return Sharing backend object
+ * @param string $itemType
+ * @return Share_Backend
*/
- private static function getBackend($itemType) {
+ public static function getBackend($itemType) {
if (isset(self::$backends[$itemType])) {
return self::$backends[$itemType];
} else if (isset(self::$backendTypes[$itemType]['class'])) {