r46027 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r46026‎ | r46027 | r46028 >
Date:16:48, 22 January 2009
Author:ialex
Status:ok
Tags:
Comment:
E_STRICT
Modified paths:
  • /trunk/extensions/OpenID/SpecialOpenID.body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/OpenID/SpecialOpenID.body.php
@@ -66,7 +66,7 @@
6767 return 'http://xri.net/' . OpenIDXriBase($xri);
6868 }
6969
70 - function OpenIDToUrl($openid) {
 70+ static function OpenIDToUrl($openid) {
7171 /* ID is either an URL already or an i-name */
7272 if (Auth_Yadis_identifierScheme($openid) == 'XRI') {
7373 return OpenIDXriToUrl($openid);
@@ -87,7 +87,7 @@
8888 }
8989 }
9090
91 - function getUserUrl($user) {
 91+ static function getUserUrl($user) {
9292 $openid_url = null;
9393
9494 if (isset($user) && $user->getId() != 0) {

Follow-up revisions

RevisionCommit summaryAuthorDate
r46092* Tweak for r46027: fix E_ERROR...ialex19:25, 23 January 2009

Status & tagging log