commit 8b26b12deb8ebb0d0a9c3eda3b5a5273e02b67e4
parent a7765552a5c127868653f98b4b0bf28ed9516d81
Author: Felicitus <felicitus@felicitus.org>
Date: Mon, 12 Oct 2015 14:43:54 +0200
Dump config prior parsing existing configuration
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/PartKeepr/SetupBundle/Controller/ExistingConfigParserController.php b/src/PartKeepr/SetupBundle/Controller/ExistingConfigParserController.php
@@ -15,7 +15,7 @@ class ExistingConfigParserController extends SetupController
*/
public function parseExistingConfigAction(Request $request)
{
- $data = json_decode($request->getContent(), true);
+ $this->dumpConfig($request);
$response = $this->handleRequest($request, "/setup/_int_parse_config");
diff --git a/src/PartKeepr/SetupBundle/Controller/SetupController.php b/src/PartKeepr/SetupBundle/Controller/SetupController.php
@@ -135,7 +135,7 @@ class SetupController extends Controller
return false;
}
- private function dumpConfig(Request $request, $test = true)
+ protected function dumpConfig(Request $request, $test = true)
{
$data = json_decode($request->getContent(), true);