diff options
author | Brion Vibber <brion@pobox.com> | 2010-06-29 08:53:05 -0700 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-06-29 08:53:05 -0700 |
commit | c038164c0f41ba5c33f578f395c9fede80d96db8 (patch) | |
tree | 1452f6e5ae5786048a5a2835275c553e80c60462 /extlib/Auth/OpenID/Message.php | |
parent | 7b7f09195a8082c8e26e87f7deb8b1002b852689 (diff) | |
parent | 452123916d08354d11a198517cbc91980a113fcd (diff) |
Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.x
Diffstat (limited to 'extlib/Auth/OpenID/Message.php')
-rw-r--r-- | extlib/Auth/OpenID/Message.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/extlib/Auth/OpenID/Message.php b/extlib/Auth/OpenID/Message.php index 5ab115a86..9aa1fa468 100644 --- a/extlib/Auth/OpenID/Message.php +++ b/extlib/Auth/OpenID/Message.php @@ -143,7 +143,7 @@ class Auth_OpenID_Mapping { * Returns true if $thing is an Auth_OpenID_Mapping object; false * if not. */ - function isA($thing) + static function isA($thing) { return (is_object($thing) && strtolower(get_class($thing)) == 'auth_openid_mapping'); @@ -442,7 +442,7 @@ class Auth_OpenID_Message { return $this->getOpenIDNamespace() == Auth_OpenID_OPENID2_NS; } - function fromPostArgs($args) + static function fromPostArgs($args) { // Construct a Message containing a set of POST arguments $obj = new Auth_OpenID_Message(); @@ -477,7 +477,7 @@ class Auth_OpenID_Message { } } - function fromOpenIDArgs($openid_args) + static function fromOpenIDArgs($openid_args) { // Takes an array. @@ -594,7 +594,7 @@ class Auth_OpenID_Message { return $this->_openid_ns_uri; } - function fromKVForm($kvform_string) + static function fromKVForm($kvform_string) { // Create a Message from a KVForm string return Auth_OpenID_Message::fromOpenIDArgs( @@ -917,4 +917,4 @@ class Auth_OpenID_Message { } } -?> + |