Commit 4639a5dd authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files

Débtu d'erradication des routes console, qui sont deprecated

parent 4d6f79e7
Loading
Loading
Loading
Loading
+1 −2
Changes for admin/actions/calcul-tableaux-bord.php: 1 added line, 2 removed lines.
Original line number Diff line number Diff line
@@ -3,6 +3,5 @@
/** @var \Application\Controller\WorkflowController $wf */
$wf = $oa->getController(\Application\Controller\WorkflowController::class);

$wf->calculTableauxBordAction();
// les plafonds seront aussi calculés!
//$oa->exec('calcul-tableaux-bord');
 No newline at end of file
$wf->calculTableauxBordAction();
 No newline at end of file
+2 −16
Changes for module/Application/config/workflow.config.php: 2 added lines, 16 removed lines.
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@

namespace Application;

use Application\Controller\WorkflowController;
use Application\Provider\Privilege\Privileges;
use UnicaenPrivilege\Guard\PrivilegeController;
use UnicaenPrivilege\Provider\Rule\PrivilegeRuleProvider;
@@ -91,22 +92,6 @@ return [
        ],
    ],

    'console' => [
        'router' => [
            'routes' => [
                'workflow-calcul-tbls' => [
                    'options' => [
                        'route'    => 'calcul-tableaux-bord',
                        'defaults' => [
                            'controller' => 'Application\Controller\Workflow',
                            'action'     => 'calcul-tableaux-bord',
                        ],
                    ],
                ],
            ],
        ],
    ],

    'navigation'      => [
        'default' => [
            'home' => [
@@ -179,6 +164,7 @@ return [
    ],
    'controllers'     => [
        'factories' => [
            WorkflowController::class => Controller\Factory\WorkflowControllerFactory::class,
            'Application\Controller\Workflow' => Controller\Factory\WorkflowControllerFactory::class,
        ],
    ],