summaryrefslogtreecommitdiffstats
path: root/Auth/OpenID/PostgreSQLStore.php
diff options
context:
space:
mode:
authortailor <cygnus@janrain.com>2007-09-25 18:56:38 +0000
committertailor <cygnus@janrain.com>2007-09-25 18:56:38 +0000
commitb5e5cd7c3f57c915f16829c95a4cf681032885ee (patch)
treed604f2ef6dd10281d4c3019975a951f8d9bdfdb5 /Auth/OpenID/PostgreSQLStore.php
parentb914968d4fcb08550ef0ace91f99f7cd7e212ae0 (diff)
downloadphp-openid-b5e5cd7c3f57c915f16829c95a4cf681032885ee.zip
php-openid-b5e5cd7c3f57c915f16829c95a4cf681032885ee.tar.gz
php-openid-b5e5cd7c3f57c915f16829c95a4cf681032885ee.tar.bz2
[project @ Added store methods cleanupAssociations(), cleanup(), and concrete implementations]
Diffstat (limited to 'Auth/OpenID/PostgreSQLStore.php')
-rw-r--r--Auth/OpenID/PostgreSQLStore.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/Auth/OpenID/PostgreSQLStore.php b/Auth/OpenID/PostgreSQLStore.php
index 8babed4..15c69ce 100644
--- a/Auth/OpenID/PostgreSQLStore.php
+++ b/Auth/OpenID/PostgreSQLStore.php
@@ -64,6 +64,9 @@ class Auth_OpenID_PostgreSQLStore extends Auth_OpenID_SQLStore {
$this->sql['clean_nonce'] =
"DELETE FROM %s WHERE timestamp < ?";
+
+ $this->sql['clean_assoc'] =
+ "DELETE FROM %s WHERE issued + lifetime < ?";
}
/**