From 3d0805f27d1d84399ed87403f33cfbde556ae69a Mon Sep 17 00:00:00 2001 From: Bjoern Schiessle Date: Mon, 23 Jun 2014 17:13:56 +0200 Subject: always use a \OC\Files\View --- apps/files_encryption/lib/helper.php | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'apps/files_encryption/lib/helper.php') diff --git a/apps/files_encryption/lib/helper.php b/apps/files_encryption/lib/helper.php index c6f18602b2b..fed0788028f 100755 --- a/apps/files_encryption/lib/helper.php +++ b/apps/files_encryption/lib/helper.php @@ -429,19 +429,11 @@ class Helper { return $config; } - /** - * glob uses different pattern than regular expressions, escape glob pattern only - * @param string $path unescaped path - * @return string path - */ - public static function escapeGlobPattern($path) { - return preg_replace('/(\*|\?|\[)/', '[$1]', $path); - } - /** * find all share keys for a given file * @param string $path to the file * @param \OC\Files\View $view view, relative to data/ + * @return array list of files, path relative to data/ */ public static function findShareKeys($path, $view) { $result = array(); -- cgit v1.2.3