diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-01-19 19:49:41 -0600 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2017-01-19 19:49:41 -0600 |
commit | a4ad8af6e3f0247db6f74dfcddc144e91f61fe84 (patch) | |
tree | ff957103206534edb0b29756b69f0dfaeadbf538 /lib/private/Repair | |
parent | 48a3f2a8a2d6217c9938c3719fb752633de7c082 (diff) | |
download | nextcloud-server-a4ad8af6e3f0247db6f74dfcddc144e91f61fe84.tar.gz nextcloud-server-a4ad8af6e3f0247db6f74dfcddc144e91f61fe84.zip |
Add proper default value for datadir
* better safe than sorry
* fixes #3091
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/private/Repair')
-rw-r--r-- | lib/private/Repair/MoveUpdaterStepFile.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Repair/MoveUpdaterStepFile.php b/lib/private/Repair/MoveUpdaterStepFile.php index fabaff40d24..feb8a291282 100644 --- a/lib/private/Repair/MoveUpdaterStepFile.php +++ b/lib/private/Repair/MoveUpdaterStepFile.php @@ -44,7 +44,7 @@ class MoveUpdaterStepFile implements IRepairStep { public function run(IOutput $output) { - $dataDir = $this->config->getSystemValue('datadirectory', \OC::$SERVERROOT); + $dataDir = $this->config->getSystemValue('datadirectory', \OC::$SERVERROOT . '/data'); $instanceId = $this->config->getSystemValue('instanceid', null); if(!is_string($instanceId) || empty($instanceId)) { |