diff options
author | Brion Vibber <brion@pobox.com> | 2010-06-29 10:24:48 -0400 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-06-29 10:24:48 -0400 |
commit | 2d920e05d563c9c327cf235b31ce18dfc4a83870 (patch) | |
tree | 31f3cde800220484cd242a8c4138c166307a2dea /extlib/Auth/OpenID/FileStore.php | |
parent | 923d9ef71ce49bfa55460bf42acb8a35bf3e84be (diff) |
Update the (formerly) Janrain OpenID library to 2.2.2 -- bug fixes including PHP 5.3 compatibility fix.
Upstream release was tagged at: http://github.com/openid/php-openid/commit/a287b2d85e753c84b3b883ed8ee3ffe8692c8477
Diffstat (limited to 'extlib/Auth/OpenID/FileStore.php')
-rw-r--r-- | extlib/Auth/OpenID/FileStore.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/extlib/Auth/OpenID/FileStore.php b/extlib/Auth/OpenID/FileStore.php index 29d8d20e7..074421a0b 100644 --- a/extlib/Auth/OpenID/FileStore.php +++ b/extlib/Auth/OpenID/FileStore.php @@ -367,7 +367,7 @@ class Auth_OpenID_FileStore extends Auth_OpenID_OpenIDStore { } if ( abs($timestamp - time()) > $Auth_OpenID_SKEW ) { - return False; + return false; } if ($server_url) { @@ -519,7 +519,7 @@ class Auth_OpenID_FileStore extends Auth_OpenID_OpenIDStore { /** * @access private */ - function _mkdtemp($dir) + static function _mkdtemp($dir) { foreach (range(0, 4) as $i) { $name = $dir . strval(DIRECTORY_SEPARATOR) . strval(getmypid()) . @@ -615,4 +615,4 @@ class Auth_OpenID_FileStore extends Auth_OpenID_OpenIDStore { } } -?> + |