From f58b2b6ba9fcc5440bc62e74cabe74b624683968 Mon Sep 17 00:00:00 2001 From: Andrew Engelbrecht Date: Wed, 17 Nov 2021 17:20:55 -0500 Subject: [PATCH] other minor tweaks based on new sqlauth upstream module --- lib/Auth/Source/FSFDrupalAuth.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Auth/Source/FSFDrupalAuth.php b/lib/Auth/Source/FSFDrupalAuth.php index 669b1cc..4acf2ba 100644 --- a/lib/Auth/Source/FSFDrupalAuth.php +++ b/lib/Auth/Source/FSFDrupalAuth.php @@ -89,7 +89,7 @@ class FSFDrupalAuth extends \SimpleSAML\Module\core\Auth\UserPassBase /** * Create a database connection. * - * @return \PDO The database connection. + * @return PDO The database connection. */ private function connect() { @@ -214,7 +214,7 @@ class FSFDrupalAuth extends \SimpleSAML\Module\core\Auth\UserPassBase } try { - $data = $sth->fetchAll(\PDO::FETCH_ASSOC); + $data = $sth->fetchAll(PDO::FETCH_ASSOC); } catch (PDOException $e) { throw new Exception('fsfdrupalauth:'.$this->authId. ': - Failed to fetch result set: '.$e->getMessage()); -- 2.25.1