Loading src/UnicaenAuth/Provider/Role/Db.php +4 −0 Original line number Diff line number Diff line Loading @@ -2,6 +2,7 @@ namespace UnicaenAuth\Provider\Role; use Doctrine\DBAL\DBALException; use PDOException; use Zend\Permissions\Acl\Role\RoleInterface; use UnicaenAuth\Acl\NamedRole; Loading Loading @@ -58,6 +59,9 @@ class Db extends ObjectRepositoryProvider try { $roles = parent::getRoles(); } catch (DBALException $exc) { $roles = array(); } catch (PDOException $exc) { $roles = array(); } Loading Loading
src/UnicaenAuth/Provider/Role/Db.php +4 −0 Original line number Diff line number Diff line Loading @@ -2,6 +2,7 @@ namespace UnicaenAuth\Provider\Role; use Doctrine\DBAL\DBALException; use PDOException; use Zend\Permissions\Acl\Role\RoleInterface; use UnicaenAuth\Acl\NamedRole; Loading Loading @@ -58,6 +59,9 @@ class Db extends ObjectRepositoryProvider try { $roles = parent::getRoles(); } catch (DBALException $exc) { $roles = array(); } catch (PDOException $exc) { $roles = array(); } Loading