From bc90a34b07f3ab882394d18cf0da17b3b5ea5edc Mon Sep 17 00:00:00 2001
From: jfd <jfd@lance>
Date: Sat, 25 Aug 2012 02:13:32 +0200
Subject: [PATCH] remove duplicate method

---
 lib/filesystem.php | 14 --------------
 1 file changed, 14 deletions(-)

diff --git a/lib/filesystem.php b/lib/filesystem.php
index 0a8e6982151..82fbf11afdf 100644
--- a/lib/filesystem.php
+++ b/lib/filesystem.php
@@ -358,20 +358,6 @@ class OC_Filesystem{
 		return $newpath;
 	}
 	
-	/**
-	* 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
-- 
GitLab