From 6b303ee64b5c1b1e338c9bbf1b895d33b140985d Mon Sep 17 00:00:00 2001 From: Michael Gapczynski Date: Tue, 12 Jul 2011 13:10:29 -0400 Subject: Fix bug in opendir() and remove getStorageMountPoint(), now using datadir argument instead --- lib/filesystem.php | 9 --------- 1 file changed, 9 deletions(-) (limited to 'lib/filesystem.php') diff --git a/lib/filesystem.php b/lib/filesystem.php index c7e2070fa0a..1f96e139ab3 100644 --- a/lib/filesystem.php +++ b/lib/filesystem.php @@ -215,15 +215,6 @@ class OC_FILESYSTEM{ return $foundMountPoint; } - /** - * get the mountpoint of the storage object - * @param OC_FILESTORAGE storage - * @return string - */ - static public function getStorageMountPoint($storage){ - return array_search($storage, self::$storages); - } - /** * return the path to a local version of the file * we need this because we can't know if a file is stored local or not from outside the filestorage and for some purposes a local file is needed -- cgit v1.2.3