diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2014-06-23 17:13:56 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2014-06-25 12:27:30 +0200 |
commit | 3d0805f27d1d84399ed87403f33cfbde556ae69a (patch) | |
tree | b368d3a1c70a63bc505583b688a25720566b80c6 /apps/files_encryption/lib/helper.php | |
parent | 709691548dbf72c5763879136f3a0ba4e8a0c135 (diff) | |
download | nextcloud-server-3d0805f27d1d84399ed87403f33cfbde556ae69a.tar.gz nextcloud-server-3d0805f27d1d84399ed87403f33cfbde556ae69a.zip |
always use a \OC\Files\View
Diffstat (limited to 'apps/files_encryption/lib/helper.php')
-rwxr-xr-x | apps/files_encryption/lib/helper.php | 10 |
1 files changed, 1 insertions, 9 deletions
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 @@ -430,18 +430,10 @@ class Helper { } /** - * 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(); |