summaryrefslogtreecommitdiffstats
path: root/Auth/OpenID/SQLiteStore.php
diff options
context:
space:
mode:
Diffstat (limited to 'Auth/OpenID/SQLiteStore.php')
-rw-r--r--Auth/OpenID/SQLiteStore.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/Auth/OpenID/SQLiteStore.php b/Auth/OpenID/SQLiteStore.php
index debb5fe..a242f9b 100644
--- a/Auth/OpenID/SQLiteStore.php
+++ b/Auth/OpenID/SQLiteStore.php
@@ -47,6 +47,9 @@ class Auth_OpenID_SQLiteStore extends Auth_OpenID_SQLStore {
$this->sql['add_nonce'] =
"INSERT INTO %s (server_url, timestamp, salt) VALUES (?, ?, ?)";
+
+ $this->sql['clean_nonce'] =
+ "DELETE FROM %s WHERE timestamp < ?";
}
/**