partkeepr

fork of partkeepr
git clone https://git.e1e0.net/partkeepr.git
Log | Files | Refs | Submodules | README | LICENSE

commit 51f4b516fa273116130681f2159ab359c73e0f75
parent 8b26b12deb8ebb0d0a9c3eda3b5a5273e02b67e4
Author: Felicitus <felicitus@felicitus.org>
Date:   Mon, 12 Oct 2015 14:46:48 +0200

Parse existing configuration in the setup environment, not in the setup_test environment

Diffstat:
Msrc/PartKeepr/SetupBundle/Controller/ExistingConfigParserController.php | 14+-------------
1 file changed, 1 insertion(+), 13 deletions(-)

diff --git a/src/PartKeepr/SetupBundle/Controller/ExistingConfigParserController.php b/src/PartKeepr/SetupBundle/Controller/ExistingConfigParserController.php @@ -15,19 +15,7 @@ class ExistingConfigParserController extends SetupController */ public function parseExistingConfigAction(Request $request) { - $this->dumpConfig($request); - - $response = $this->handleRequest($request, "/setup/_int_parse_config"); - - return new Response($response->getContent()); - } - - /** - * @Route("/setup/_int_parse_config") - */ - public function intParseExistingConfigAction(Request $request) - { - $response = array( + $response = array( "success" => true, "errors" => [], "message" => "Existing configuration imported successfully",