Commit b7f9b225 authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Nettoyage exception PDOException non lancée puisque qu'inexistante.

parent f38c4ce0
Loading
Loading
Loading
Loading
+3 −6
Original line number Diff line number Diff line
<?php

namespace UnicaenAuth\Authentication\Adapter;

use PDOException;
use Zend\ServiceManager\Exception\ServiceNotFoundException;
use UnicaenAuth\Options\ModuleOptions;
use Zend\ServiceManager\Exception\ServiceNotFoundException;
use Zend\ServiceManager\ServiceManager;
use Zend\ServiceManager\ServiceManagerAwareInterface;
use ZfcUser\Authentication\Adapter\AdapterChainEvent as AuthEvent;
@@ -39,9 +39,6 @@ class Db extends \ZfcUser\Authentication\Adapter\Db implements ServiceManagerAwa
        try {
            $result = parent::authenticate($e);
        }
        catch (PDOException $e) {
            return false;
        }
        catch (ServiceNotFoundException $e) {
            return false;
        }