From 8094d30f1b59d1783e0b56e935a5858a8054824f Mon Sep 17 00:00:00 2001 From: Olav Morken <olav.morken@uninett.no> Date: Tue, 1 Jul 2008 09:25:57 +0000 Subject: [PATCH] Consent_Storage: Remove unused ATTR_PERSISTENT flag from connection (for better postgresql compatibility). git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@732 44740490-163a-0410-bde0-09ae8108e29a --- lib/SimpleSAML/Consent/Storage.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/SimpleSAML/Consent/Storage.php b/lib/SimpleSAML/Consent/Storage.php index d431200d5..23c8a5077 100644 --- a/lib/SimpleSAML/Consent/Storage.php +++ b/lib/SimpleSAML/Consent/Storage.php @@ -33,8 +33,7 @@ class SimpleSAML_Consent_Storage { $pdo_passwd = $config->getValue('consent_pdo_passwd'); try { - $this->dbh = new PDO($pdo_connect, $pdo_user, $pdo_passwd, - array( PDO::ATTR_PERSISTENT => false)); + $this->dbh = new PDO($pdo_connect, $pdo_user, $pdo_passwd); } catch(Exception $exception) { $session = SimpleSAML_Session::getInstance(); SimpleSAML_Utilities::fatalError($session->getTrackID(), 'PROCESSASSERTION', $exception); -- GitLab