Suppression constructeurs inutiles

php
Alix JEUDI--LEMOINE 1 year ago
parent 4830ee3636
commit 2c96f7d7e8

@ -18,11 +18,6 @@ use model\ValidationException;
class InviteController
{
public function __construct(Connection $con)
{
// TODO
}
public function defaultAction(array $params) {
global $twig, $dVue;
@ -94,10 +89,10 @@ class InviteController
$idJeu = $configurationJeu->getJeu()->getId();
switch($idJeu){
case 2:
new TODELETEScienceQuizzController($role, $configurationJeu);
new _TO_DELETE__ScienceQuizzController($role, $configurationJeu);
break;
case 3:
new TODELETEPenduController($role, $configurationJeu);
new _TO_DELETE__PenduController($role, $configurationJeu);
break;
default:
throw new Exception("Jeu non défini !");

@ -21,12 +21,6 @@ use model\Utilisateur;
class UserController extends InviteController {
public function __construct(Connection $con)
{
parent::__construct($con);
}
public function listerLesScientifiquesDecouverts() {
}

Loading…
Cancel
Save