This commit is contained in:
xdrm-brackets 2016-11-08 09:54:11 +01:00
parent ac7a330d55
commit 65f3aa6994
1 changed files with 1 additions and 3 deletions

View File

@ -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;
}