diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-02-21 20:51:50 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-02-23 16:44:40 +0100 |
commit | 1fd1b355e46aba83917c81ddc91a369598f9e6e1 (patch) | |
tree | 098e4f25ea3c40ad4b424223f788cfc0d06a3408 /core/setup | |
parent | f54cd14c7e7ea3a8e63ce35b3ac2c3ff5db984f5 (diff) | |
download | nextcloud-server-1fd1b355e46aba83917c81ddc91a369598f9e6e1.tar.gz nextcloud-server-1fd1b355e46aba83917c81ddc91a369598f9e6e1.zip |
Fix namespace of OC_Setup -> \OC\Setup
Diffstat (limited to 'core/setup')
-rw-r--r-- | core/setup/controller.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/setup/controller.php b/core/setup/controller.php index 330de2537ac..dfd7e0d8d96 100644 --- a/core/setup/controller.php +++ b/core/setup/controller.php @@ -75,7 +75,7 @@ class Controller { if(isset($post['install']) AND $post['install']=='true') { // We have to launch the installation process : - $e = \OC_Setup::install($post); + $e = \OC\Setup::install($post); $errors = array('errors' => $e); if(count($e) > 0) { @@ -145,7 +145,7 @@ class Controller { * in case of errors/warnings */ public function getSystemInfo() { - $setup = new \OC_Setup($this->config); + $setup = new \OC\Setup($this->config); $databases = $setup->getSupportedDatabases(); $dataDir = $this->config->getSystemValue('datadirectory', \OC::$SERVERROOT.'/data'); @@ -159,7 +159,7 @@ class Controller { $htAccessWorking = true; if (is_dir($dataDir) && is_writable($dataDir)) { // Protect data directory here, so we can test if the protection is working - \OC_Setup::protectDataDirectory(); + \OC\Setup::protectDataDirectory(); try { $htAccessWorking = \OC_Util::isHtaccessWorking(); |