parent
a32a224099
commit
b5d91b5ac3
@ -1,21 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace App\controleur;
|
||||
|
||||
|
||||
class ModerateurControleur extends MembreControleur
|
||||
{
|
||||
public function __construct()
|
||||
{
|
||||
global $twig;
|
||||
if (!isset($_REQUEST["action"])) {
|
||||
$action = NULL;
|
||||
} else {
|
||||
$action = \App\config\Validation::nettoyerString($_REQUEST["action"]);
|
||||
}
|
||||
switch ($action) {
|
||||
default:
|
||||
parent::__construct();
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in new issue