From 363027e3c6617b7a501b294e4c897ecce6fabe2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=85kre=20Solberg?= <andreas.solberg@uninett.no> Date: Wed, 25 Feb 2009 12:21:39 +0000 Subject: [PATCH] Retrieving consent date and usage date from consent database... Should not conflict with existing code. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1327 44740490-163a-0410-bde0-09ae8108e29a --- modules/consent/lib/Consent/Store/Database.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/consent/lib/Consent/Store/Database.php b/modules/consent/lib/Consent/Store/Database.php index 2b7ca8104..5d7480fff 100644 --- a/modules/consent/lib/Consent/Store/Database.php +++ b/modules/consent/lib/Consent/Store/Database.php @@ -275,7 +275,7 @@ class sspmod_consent_Consent_Store_Database extends sspmod_consent_Store { $ret = array(); - $st = $this->execute('SELECT service_id, attribute FROM ' . $this->table . ' WHERE hashed_user_id = ?', + $st = $this->execute('SELECT service_id, attribute, consent_date, usage_date FROM ' . $this->table . ' WHERE hashed_user_id = ?', array($userId)); if ($st === FALSE) { return array(); -- GitLab