refactor update process. Now only available with command line

This commit is contained in:
Manuel Raynaud
2014-01-08 16:23:54 +01:00
parent 4d1a82e7a7
commit 8214ab77ec
9 changed files with 133 additions and 156 deletions

View File

@@ -16,6 +16,7 @@
<command class="Thelia\Command\ReloadDatabaseCommand"/>
<command class="Thelia\Command\GenerateResources"/>
<command class="Thelia\Command\AdminUpdatePasswordCommand"/>
<command class="Thelia\Command\UpdateCommand"/>
</commands>
</config>

View File

@@ -1122,15 +1122,6 @@
<default key="_controller">Thelia\Controller\Admin\TranslationsController::updateAction</default>
</route>
<!-- update routing -->
<route id="update.index" path="/admin/configuration/update">
<default key="_controller">Thelia\Controller\Admin\UpdateController::indexAction</default>
</route>
<route id="update.process" path="/admin/configuration/update/process">
<default key="_controller">Thelia\Controller\Admin\UpdateController::updateAction</default>
</route>
<!-- The default route, to display a template -->
<route id="admin.processTemplate" path="/admin/{template}">