From 5da11271bb8ba5ec3f6752b2bc9527500b225814 Mon Sep 17 00:00:00 2001 From: Olav Morken <olav.morken@uninett.no> Date: Thu, 15 Mar 2012 13:31:41 +0000 Subject: [PATCH] consent: Do not initialize the database unless it is needed. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@3047 44740490-163a-0410-bde0-09ae8108e29a --- modules/consent/lib/Consent/Store/Database.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/modules/consent/lib/Consent/Store/Database.php b/modules/consent/lib/Consent/Store/Database.php index 7a996563f..3a9a88717 100644 --- a/modules/consent/lib/Consent/Store/Database.php +++ b/modules/consent/lib/Consent/Store/Database.php @@ -101,9 +101,6 @@ class sspmod_consent_Consent_Store_Database extends sspmod_consent_Store } $this->_timeout = $config['timeout']; } - - // @TODO Should be removed - $db = $this->_getDB(); } /** -- GitLab