remove obsolete oc_filesystem::mountall
This commit is contained in:
parent
0b338a7a41
commit
aa118a4c64
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue