summaryrefslogtreecommitdiff
path: root/modules/openid
diff options
context:
space:
mode:
Diffstat (limited to 'modules/openid')
-rw-r--r--modules/openid/openid.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/openid/openid.module b/modules/openid/openid.module
index ebd63f0bb..45b6714b2 100644
--- a/modules/openid/openid.module
+++ b/modules/openid/openid.module
@@ -550,7 +550,7 @@ function openid_association($op_endpoint) {
// Remove Old Associations:
db_delete('openid_association')
- ->condition('created + expires_in', REQUEST_TIME, '<')
+ ->where('created + expires_in < :request_time', array(':request_time' => REQUEST_TIME))
->execute();
// Check to see if we have an association for this IdP already