Index: trunk/extensions/OpenID/SpecialOpenID.body.php |
— | — | @@ -66,7 +66,7 @@ |
67 | 67 | return 'http://xri.net/' . OpenIDXriBase($xri); |
68 | 68 | } |
69 | 69 | |
70 | | - function OpenIDToUrl($openid) { |
| 70 | + static function OpenIDToUrl($openid) { |
71 | 71 | /* ID is either an URL already or an i-name */ |
72 | 72 | if (Auth_Yadis_identifierScheme($openid) == 'XRI') { |
73 | 73 | return OpenIDXriToUrl($openid); |
— | — | @@ -87,7 +87,7 @@ |
88 | 88 | } |
89 | 89 | } |
90 | 90 | |
91 | | - function getUserUrl($user) { |
| 91 | + static function getUserUrl($user) { |
92 | 92 | $openid_url = null; |
93 | 93 | |
94 | 94 | if (isset($user) && $user->getId() != 0) { |