summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVille Mattila <ville@eventio.fi>2013-09-02 07:46:33 +0300
committerVille Mattila <ville@eventio.fi>2013-09-02 07:46:33 +0300
commitdc8fe289c785d9db4bb37f016eb5ee58ce18a2f8 (patch)
tree9885f7e4be031fbd1267e485f6c51a5d6271fa81
parent0bc8cae924c79e93ca1c0b4daaa0d527d9d1c348 (diff)
downloadphp-openid-dc8fe289c785d9db4bb37f016eb5ee58ce18a2f8.zip
php-openid-dc8fe289c785d9db4bb37f016eb5ee58ce18a2f8.tar.gz
php-openid-dc8fe289c785d9db4bb37f016eb5ee58ce18a2f8.tar.bz2
Fixed wrong expiration command (expiresat -> expireat)
-rw-r--r--Auth/OpenID/PredisStore.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Auth/OpenID/PredisStore.php b/Auth/OpenID/PredisStore.php
index 595ecb6..7108c2f 100644
--- a/Auth/OpenID/PredisStore.php
+++ b/Auth/OpenID/PredisStore.php
@@ -77,8 +77,8 @@ class Auth_OpenID_PredisStore extends Auth_OpenID_OpenIDStore {
$expiration = $this->redis->get($expirationKey);
if (!$expiration || $newExpiration > $expiration) {
$this->redis->set($expirationKey, $newExpiration);
- $this->redis->expiresat($serverKey, $newExpiration);
- $this->redis->expiresat($expirationKey, $newExpiration);
+ $this->redis->expireat($serverKey, $newExpiration);
+ $this->redis->expireat($expirationKey, $newExpiration);
}
// save association itself, will automatically expire