Commit 06fe4cab authored by Morris Jobke's avatar Morris Jobke
Browse files

move setup controller to core/controller

parent b97fe978
......@@ -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 */
......
......@@ -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();
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment