diff options
author | Morris Jobke <hey@morrisjobke.de> | 2016-01-20 10:20:36 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2016-01-20 10:23:57 +0100 |
commit | 06fe4cabfc55a8ba4df954c871e6cff2fbbd67d2 (patch) | |
tree | 6f534702a772952b70c617a6ce508f4075a11082 | |
parent | b97fe978753ca72412ad6d868a1c4cb3f53eb82e (diff) | |
download | nextcloud-server-06fe4cabfc55a8ba4df954c871e6cff2fbbd67d2.tar.gz nextcloud-server-06fe4cabfc55a8ba4df954c871e6cff2fbbd67d2.zip |
move setup controller to core/controller
-rw-r--r-- | core/controller/setupcontroller.php (renamed from core/setup/controller.php) | 4 | ||||
-rw-r--r-- | lib/base.php | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/core/setup/controller.php b/core/controller/setupcontroller.php index a64e6f08a36..16646b97ae6 100644 --- a/core/setup/controller.php +++ b/core/controller/setupcontroller.php @@ -25,11 +25,11 @@ * */ -namespace OC\Core\Setup; +namespace OC\Core\Controller; use OC\Setup; -class Controller { +class SetupController { /** @var Setup */ protected $setupHelper; /** @var string */ diff --git a/lib/base.php b/lib/base.php index b7118e02458..970eabce6af 100644 --- a/lib/base.php +++ b/lib/base.php @@ -826,7 +826,7 @@ class OC { $setupHelper = new OC\Setup(\OC::$server->getConfig(), \OC::$server->getIniWrapper(), \OC::$server->getL10N('lib'), new \OC_Defaults(), \OC::$server->getLogger(), \OC::$server->getSecureRandom()); - $controller = new OC\Core\Setup\Controller($setupHelper); + $controller = new OC\Core\Controller\SetupController($setupHelper); $controller->run($_POST); exit(); } |