diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2014-06-13 13:26:09 +0200 |
---|---|---|
committer | Jörn Friedrich Dreyer <jfd@butonic.de> | 2014-06-18 12:53:20 +0200 |
commit | 10de4a7b904fe472a240dd4d35d83daa919e6a1e (patch) | |
tree | 7a0e701d8a96c63b666f5e586d00d23d727fb75a /lib/private/files/objectstore | |
parent | 652af71ba98461d3ed061c6e1daa56549d1dfac5 (diff) | |
download | nextcloud-server-10de4a7b904fe472a240dd4d35d83daa919e6a1e.tar.gz nextcloud-server-10de4a7b904fe472a240dd4d35d83daa919e6a1e.zip |
move creation of / and users 'files' from storage constructor to setupFS / mount initialization
Diffstat (limited to 'lib/private/files/objectstore')
-rw-r--r-- | lib/private/files/objectstore/abstractobjectstore.php | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/private/files/objectstore/abstractobjectstore.php b/lib/private/files/objectstore/abstractobjectstore.php index 2ef2f38bf40..3f67ad9a494 100644 --- a/lib/private/files/objectstore/abstractobjectstore.php +++ b/lib/private/files/objectstore/abstractobjectstore.php @@ -131,17 +131,6 @@ abstract class AbstractObjectStore extends \OC\Files\Storage\Common { } else { $this->user = null; } - //initialize cache with root directory in cache - if ( ! $this->is_dir('/') ) { - $this->mkdir('/'); - } - - if (isset($params['user']) && is_object($params['user'])) { - //create the files folder in the cache when mounting the objectstore for a user - if ( ! $this->is_dir('files') ) { - $this->mkdir('files'); - } - } } public function mkdir($path) { |