diff options
author | tailor <cygnus@janrain.com> | 2007-09-25 18:56:38 +0000 |
---|---|---|
committer | tailor <cygnus@janrain.com> | 2007-09-25 18:56:38 +0000 |
commit | b5e5cd7c3f57c915f16829c95a4cf681032885ee (patch) | |
tree | d604f2ef6dd10281d4c3019975a951f8d9bdfdb5 /Auth/OpenID/PostgreSQLStore.php | |
parent | b914968d4fcb08550ef0ace91f99f7cd7e212ae0 (diff) | |
download | php-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.php | 3 |
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 < ?"; } /** |