minmod
This commit is contained in:
parent
45c1a0c1e3
commit
0a84ad1ce0
|
@ -379,10 +379,8 @@
|
||||||
$granted = Authentification::permission($this->path['module'], $method['permissions']);
|
$granted = Authentification::permission($this->path['module'], $method['permissions']);
|
||||||
|
|
||||||
/* (1) On retourne FAUX si aucun droit n'a ete trouve */
|
/* (1) On retourne FAUX si aucun droit n'a ete trouve */
|
||||||
if( $granted !== Error::Success ){
|
if( $granted !== Error::Success )
|
||||||
$this->error = Error::PermissionError;
|
$this->error = Error::PermissionError;
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue