remove obsolete oc_filesystem::mountall

This commit is contained in:
Robin Appelman 2012-07-21 00:06:01 +02:00
parent 0b338a7a41
commit aa118a4c64
1 changed files with 0 additions and 11 deletions

View File

@ -322,17 +322,6 @@ class OC_Filesystem{
self::$mounts[$mountpoint]=array('class'=>$class,'arguments'=>$arguments); self::$mounts[$mountpoint]=array('class'=>$class,'arguments'=>$arguments);
} }
/**
* create all storage backends mounted in the filesystem
*/
static private function mountAll(){
foreach(self::$mounts as $mountPoint=>$mount){
if(!isset(self::$storages[$mountPoint])){
self::$storages[$mountPoint]=self::createStorage($mount['type'],$mount['arguments']);
}
}
}
/** /**
* return the path to a local version of the file * 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 * 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