summaryrefslogtreecommitdiffstats
path: root/Auth/OpenID/MySQLStore.php
diff options
context:
space:
mode:
Diffstat (limited to 'Auth/OpenID/MySQLStore.php')
-rw-r--r--Auth/OpenID/MySQLStore.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/Auth/OpenID/MySQLStore.php b/Auth/OpenID/MySQLStore.php
index 14a695c..4b2d29d 100644
--- a/Auth/OpenID/MySQLStore.php
+++ b/Auth/OpenID/MySQLStore.php
@@ -57,6 +57,9 @@ class Auth_OpenID_MySQLStore extends Auth_OpenID_SQLStore {
$this->sql['add_nonce'] =
"INSERT INTO %s (server_url, timestamp, salt) VALUES (?, ?, ?)";
+
+ $this->sql['get_expired'] =
+ "SELECT server_url FROM %s WHERE issued + lifetime < ?";
}
/**