summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-07-20 17:57:51 +0200
committerRobin Appelman <icewind@owncloud.com>2012-07-20 17:58:06 +0200
commit39086ef63e451871dfd9778f64cdbc4df142bd19 (patch)
treea93a92607dfa5c8b176426b04d604392f30e7250 /lib
parent0e6238c66fc5f37b11800e632dbcccd72833628f (diff)
downloadnextcloud-server-39086ef63e451871dfd9778f64cdbc4df142bd19.tar.gz
nextcloud-server-39086ef63e451871dfd9778f64cdbc4df142bd19.zip
dont try to create mountpoints automatically
Diffstat (limited to 'lib')
-rw-r--r--lib/filesystem.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/filesystem.php b/lib/filesystem.php
index 5b31ed6c703..148656be00f 100644
--- a/lib/filesystem.php
+++ b/lib/filesystem.php
@@ -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);
}