From 39086ef63e451871dfd9778f64cdbc4df142bd19 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Fri, 20 Jul 2012 17:57:51 +0200 Subject: [PATCH] dont try to create mountpoints automatically --- lib/filesystem.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/filesystem.php b/lib/filesystem.php index 5b31ed6c70..148656be00 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); }