mirror of
https://github.com/nextcloud/server.git
synced 2026-03-08 18:28:16 +01:00
dont try to create mountpoints automatically
This commit is contained in:
@@ -319,9 +319,6 @@ class OC_Filesystem{
|
||||
if(substr($mountpoint,-1)!=='/'){
|
||||
$mountpoint=$mountpoint.'/';
|
||||
}
|
||||
if (self::getView() != null && $mountpoint != '/' && !self::is_dir(basename($mountpoint))) {
|
||||
self::mkdir(basename($mountpoint));
|
||||
}
|
||||
self::$mounts[$mountpoint]=array('class'=>$class,'arguments'=>$arguments);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user