diff options
author | jfd <jfd@lance> | 2012-08-25 02:13:32 +0200 |
---|---|---|
committer | jfd <jfd@lance> | 2012-08-25 02:13:32 +0200 |
commit | bc90a34b07f3ab882394d18cf0da17b3b5ea5edc (patch) | |
tree | 5ea396f9e2f9ac2f1c3f0bf142df161c840317f1 /lib | |
parent | 59eb693e5114bc7e2398f876caccba99d39c4316 (diff) | |
download | nextcloud-server-bc90a34b07f3ab882394d18cf0da17b3b5ea5edc.tar.gz nextcloud-server-bc90a34b07f3ab882394d18cf0da17b3b5ea5edc.zip |
remove duplicate method
Diffstat (limited to 'lib')
-rw-r--r-- | lib/filesystem.php | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/filesystem.php b/lib/filesystem.php index 0a8e6982151..82fbf11afdf 100644 --- a/lib/filesystem.php +++ b/lib/filesystem.php @@ -359,20 +359,6 @@ class OC_Filesystem{ } /** - * return path to file which reflects one visible in browser - * @param string path - * @return string - */ - static public function getLocalPath($path) { - $datadir = \OCP\Config::getSystemValue('datadirectory').'/'.\OC_User::getUser().'/files'; - $newpath = $path; - if (strncmp($newpath, $datadir, strlen($datadir)) == 0) { - $newpath = substr($path, strlen($datadir)); - } - return $newpath; - } - - /** * check if the requested path is valid * @param string path * @return bool |