summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortailor <cygnus@janrain.com>2007-01-10 19:56:21 +0000
committertailor <cygnus@janrain.com>2007-01-10 19:56:21 +0000
commitae2040a2a0fe9cb1180601f2ec785f330e71727a (patch)
tree885b2199a3d41431a3f431b4b6713c2378d74216
parent1e1f84afbec284dd3bd8a11dc4c19fe67143b2b4 (diff)
downloadphp-openid-ae2040a2a0fe9cb1180601f2ec785f330e71727a.zip
php-openid-ae2040a2a0fe9cb1180601f2ec785f330e71727a.tar.gz
php-openid-ae2040a2a0fe9cb1180601f2ec785f330e71727a.tar.bz2
[project @ FIX #2182: Finish up file-scoped vars]
-rw-r--r--Auth/OpenID/BigMath.php1
-rw-r--r--Auth/OpenID/Nonce.php1
-rw-r--r--Services/Yadis/XML.php1
3 files changed, 1 insertions, 2 deletions
diff --git a/Auth/OpenID/BigMath.php b/Auth/OpenID/BigMath.php
index 3113104..db3b543 100644
--- a/Auth/OpenID/BigMath.php
+++ b/Auth/OpenID/BigMath.php
@@ -335,7 +335,6 @@ class Auth_OpenID_GmpMathWrapper extends Auth_OpenID_MathLibrary{
* You can define new math library implementations and add them to
* this array.
*/
-global $_Auth_OpenID_math_extensions;
$_Auth_OpenID_math_extensions = array(
array('modules' => array('gmp', 'php_gmp'),
'extension' => 'gmp',
diff --git a/Auth/OpenID/Nonce.php b/Auth/OpenID/Nonce.php
index d634f9b..7107097 100644
--- a/Auth/OpenID/Nonce.php
+++ b/Auth/OpenID/Nonce.php
@@ -15,6 +15,7 @@ define('Auth_OpenID_Nonce_CHRS',"abcdefghijklmnopqrstuvwxyz" .
// Keep nonces for five hours (allow five hours for the combination of
// request time and clock skew). This is probably way more than is
// necessary, but there is not much overhead in storing nonces.
+global $Auth_OpenID_SKEW;
$Auth_OpenID_SKEW = 60 * 60 * 5;
define('Auth_OpenID_Nonce_REGEX',
diff --git a/Services/Yadis/XML.php b/Services/Yadis/XML.php
index e794126..aef94c6 100644
--- a/Services/Yadis/XML.php
+++ b/Services/Yadis/XML.php
@@ -298,7 +298,6 @@ class Services_Yadis_dom extends Services_Yadis_XMLParser {
}
}
-global $__Services_Yadis_defaultParser;
$__Services_Yadis_defaultParser = null;
/**