Skip to content
Snippets Groups Projects
Commit 8094d30f authored by Olav Morken's avatar Olav Morken
Browse files

Consent_Storage: Remove unused ATTR_PERSISTENT flag from connection (for...

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
parent 6e76968e
No related branches found
No related tags found
No related merge requests found
...@@ -33,8 +33,7 @@ class SimpleSAML_Consent_Storage { ...@@ -33,8 +33,7 @@ class SimpleSAML_Consent_Storage {
$pdo_passwd = $config->getValue('consent_pdo_passwd'); $pdo_passwd = $config->getValue('consent_pdo_passwd');
try { try {
$this->dbh = new PDO($pdo_connect, $pdo_user, $pdo_passwd, $this->dbh = new PDO($pdo_connect, $pdo_user, $pdo_passwd);
array( PDO::ATTR_PERSISTENT => false));
} catch(Exception $exception) { } catch(Exception $exception) {
$session = SimpleSAML_Session::getInstance(); $session = SimpleSAML_Session::getInstance();
SimpleSAML_Utilities::fatalError($session->getTrackID(), 'PROCESSASSERTION', $exception); SimpleSAML_Utilities::fatalError($session->getTrackID(), 'PROCESSASSERTION', $exception);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment