This commit is contained in:
xdrm-brackets 2016-11-08 09:54:11 +01:00
parent 45c1a0c1e3
commit 0a84ad1ce0
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;
}