r89386 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r89385‎ | r89386 | r89387 >
Date:03:15, 3 June 2011
Author:demon
Status:deferred
Tags:
Comment:
stylize.php
Modified paths:
  • /trunk/extensions/OpenID/DatabaseConnection.php (modified) (history)
  • /trunk/extensions/OpenID/OpenID.hooks.php (modified) (history)
  • /trunk/extensions/OpenID/OpenID.php (modified) (history)
  • /trunk/extensions/OpenID/SpecialOpenID.body.php (modified) (history)
  • /trunk/extensions/OpenID/SpecialOpenIDConvert.body.php (modified) (history)
  • /trunk/extensions/OpenID/SpecialOpenIDDashboard.body.php (modified) (history)
  • /trunk/extensions/OpenID/SpecialOpenIDLogin.body.php (modified) (history)
  • /trunk/extensions/OpenID/SpecialOpenIDServer.body.php (modified) (history)
  • /trunk/extensions/OpenID/optionToTable.php (modified) (history)

Diff [purge]

Index: trunk/extensions/OpenID/OpenID.hooks.php
@@ -5,12 +5,12 @@
66 * they're so badly written as to be impossible to extend
77 */
88 class SpecialOpenIDCreateAccount extends SpecialRedirectToSpecial {
9 - function __construct(){
 9+ function __construct() {
1010 parent::__construct( 'SpecialOpenIDCreateAccount', 'OpenIDLogin' );
1111 }
1212 }
1313 class SpecialOpenIDUserLogin extends SpecialRedirectToSpecial {
14 - function __construct(){
 14+ function __construct() {
1515 parent::__construct( 'SpecialOpenIDUserLogin', 'OpenIDLogin', false, array( 'returnto', 'returntoquery' ) );
1616 }
1717 }
@@ -21,7 +21,7 @@
2222
2323 if ( $wgOpenIDOnly ) {
2424 $list['Userlogin'] = 'SpecialOpenIDLogin';
25 -
 25+
2626 # as Special:CreateAccount is an alias for Special:UserLogin/signup
2727 # we show our own OpenID page here, too
2828 $list['CreateAccount'] = 'SpecialOpenIDLogin';
@@ -77,7 +77,7 @@
7878 }
7979
8080 # Add OpenID data if its allowed
81 - if ( !$wgOpenIDClientOnly && !( count( $openid ) && (strlen( $openid[0] ) != 0 ) && !$wgOpenIDAllowServingOpenIDUserAccounts ) ) {
 81+ if ( !$wgOpenIDClientOnly && !( count( $openid ) && ( strlen( $openid[0] ) != 0 ) && !$wgOpenIDAllowServingOpenIDUserAccounts ) ) {
8282 $st = SpecialPage::getTitleFor( 'OpenIDServer' );
8383 $wgOut->addLink( array( 'rel' => 'openid.server',
8484 'href' => $st->getFullURL() ) );
@@ -124,7 +124,7 @@
125125 public static function onBeforePageDisplay( $out, &$sk ) {
126126 global $wgHideOpenIDLoginLink, $wgUser;
127127
128 - # We need to do this *before* PersonalUrls is called
 128+ # We need to do this *before* PersonalUrls is called
129129 if ( !$wgHideOpenIDLoginLink && $wgUser->getID() == 0 ) {
130130 $out->addHeadItem( 'openidloginstyle', self::loginStyle() );
131131 }
@@ -137,7 +137,7 @@
138138 $delTitle = SpecialPage::getTitleFor( 'OpenIDConvert', 'Delete' );
139139 $sk = $user->getSkin();
140140 $rows = '';
141 - foreach( $urls as $url ) {
 141+ foreach ( $urls as $url ) {
142142 $rows .= Xml::tags( 'tr', array(),
143143 Xml::tags( 'td', array(), Xml::element( 'a', array( 'href' => $url ), $url ) ) .
144144 Xml::tags( 'td', array(), $sk->link( $delTitle, wfMsg( 'openid-urls-delete' ), array(), array( 'url' => $url ) ) )
@@ -153,7 +153,7 @@
154154
155155 public static function onGetPreferences( $user, &$preferences ) {
156156 global $wgOpenIDShowUrlOnUserPage, $wgAllowRealName;
157 - global $wgAuth,$wgUser,$wgLang;
 157+ global $wgAuth, $wgUser, $wgLang;
158158
159159 if ( $wgOpenIDShowUrlOnUserPage == 'user' ) {
160160 $preferences['openid-hide'] =
@@ -235,29 +235,29 @@
236236
237237 public static function onDeleteAccount( &$userObj ) {
238238 global $wgOut;
239 -
 239+
240240 if ( is_object( $userObj ) ) {
241 -
 241+
242242 $username = $userObj->getName();
243243 $userID = $userObj->getID();
244244
245245 $dbw = wfGetDB( DB_MASTER );
246 -
 246+
247247 $dbw->delete( 'user_openid', array( 'uoi_user' => $userID ) );
248248 $wgOut->addHTML( "OpenID " . wfMsg( 'usermerge-userdeleted', $username, $userID ) );
249249
250250 wfDebug( "OpenID: deleted OpenID user $username ($userID)\n" );
251251
252252 }
253 -
 253+
254254 return true;
255 -
 255+
256256 }
257257
258258 public static function onMergeAccountFromTo( &$fromUserObj, &$toUserObj ) {
259 - global $wgOut,$wgOpenIDMergeOnAccountMerge;
 259+ global $wgOut, $wgOpenIDMergeOnAccountMerge;
260260
261 - if ( is_object( $fromUserObj ) && is_object( $toUserObj) ) {
 261+ if ( is_object( $fromUserObj ) && is_object( $toUserObj ) ) {
262262
263263 $fromUsername = $fromUserObj->getName();
264264 $fromUserID = $fromUserObj->getID();
@@ -269,7 +269,7 @@
270270 $dbw = wfGetDB( DB_MASTER );
271271
272272 $dbw->update( 'user_openid', array( 'uoi_user' => $toUserID ), array( 'uoi_user' => $fromUserID ) );
273 - $wgOut->addHTML( "OpenID " . wfMsg('usermerge-updating', 'user_openid', $fromUsername, $toUsername ) . "<br />\n" );
 273+ $wgOut->addHTML( "OpenID " . wfMsg( 'usermerge-updating', 'user_openid', $fromUsername, $toUsername ) . "<br />\n" );
274274
275275 wfDebug( "OpenID: transferred OpenID(s) of $fromUsername ($fromUserID) => $toUsername ($toUserID)\n" );
276276
@@ -281,9 +281,9 @@
282282 }
283283
284284 }
285 -
 285+
286286 return true;
287 -
 287+
288288 }
289289
290290 public static function onLoadExtensionSchemaUpdates( $updater = null ) {
@@ -297,7 +297,7 @@
298298 $wgExtNewTables[] = array( 'user_openid', "$base/openid_table.pg.sql" );
299299 # This doesn't work since MediaWiki doesn't use $wgUpdates when
300300 # updating a PostgreSQL database
301 - #$wgUpdates['postgres'][] = array( array( __CLASS__, 'makeUoiUserNotUnique' ) );
 301+ # $wgUpdates['postgres'][] = array( array( __CLASS__, 'makeUoiUserNotUnique' ) );
302302 }
303303 } else {
304304 $dbPatch = "$base/" . ( $updater->getDB()->getType() == 'postgres' ?
Index: trunk/extensions/OpenID/SpecialOpenIDServer.body.php
@@ -543,7 +543,7 @@
544544 }
545545
546546 function SaveValues( $request, $sreg ) {
547 - if( session_id() == '' ) {
 547+ if ( session_id() == '' ) {
548548 wfSetupSession();
549549 }
550550
@@ -737,9 +737,9 @@
738738 $pattern = str_replace( '?', '\?', $pattern );
739739
740740 /* remove "Special:OpenIDXRDS/" to allow construction of a valid user page name */
741 - $specialPagePrefix = SpecialPage::getTitleFor('OpenIDXRDS');
 741+ $specialPagePrefix = SpecialPage::getTitleFor( 'OpenIDXRDS' );
742742 if ( $specialPagePrefix != "Special:OpenIDXRDS" ) $specialPagePrefix = "({$specialPagePrefix}|Special:OpenIDXRDS)";
743 - $relative = preg_replace("!" . $specialPagePrefix . "/!", "", $relative);
 743+ $relative = preg_replace( "!" . $specialPagePrefix . "/!", "", $relative );
744744
745745 # Can't have a pound-sign in the relative, since that's for fragments
746746 if ( !preg_match( "#$pattern#", $relative, $matches ) ) {
Index: trunk/extensions/OpenID/SpecialOpenIDLogin.body.php
@@ -69,7 +69,7 @@
7070
7171 if ( !is_null( $openid_url ) && strlen( $openid_url ) > 0 ) {
7272 $this->login( $openid_url, $this->getTitle( 'Finish' ) );
73 - } else if (!is_null ( $wgOpenIDConsumerForce )) {
 73+ } else if ( !is_null ( $wgOpenIDConsumerForce ) ) {
7474 // if a forced OpenID provider specified, bypass the form
7575 $this->login( $wgOpenIDConsumerForce, $this->getTitle( 'Finish' ) );
7676 } else {
@@ -151,9 +151,9 @@
152152 );
153153 $wgOut->addWikiMsg( 'openidlogininstructions' );
154154 if ( $wgOpenIDOnly ) {
155 - $wgOut->addWikiMsg('openidlogininstructions-openidloginonly');
 155+ $wgOut->addWikiMsg( 'openidlogininstructions-openidloginonly' );
156156 } else {
157 - $wgOut->addWikiMsg('openidlogininstructions-passwordloginallowed');
 157+ $wgOut->addWikiMsg( 'openidlogininstructions-passwordloginallowed' );
158158 }
159159 }
160160
@@ -242,7 +242,7 @@
243243 # These are only available if all visitors are allowed to create accounts
244244 if ( $wgUser->isAllowed( 'createaccount' ) && !$wgUser->isBlockedFromCreateAccount() ) {
245245
246 - if ($wgOpenIDProposeUsernameFromSREG) {
 246+ if ( $wgOpenIDProposeUsernameFromSREG ) {
247247
248248 # These options won't exist if we can't get them.
249249 if ( array_key_exists( 'nickname', $sreg ) && $this->userNameOK( $sreg['nickname'] ) ) {
@@ -263,11 +263,11 @@
264264 if ( array_key_exists( 'fullname', $sreg ) ) {
265265 $fullname = $sreg['fullname'];
266266 }
267 -
 267+
268268 if ( array_key_exists( 'http://axschema.org/namePerson/first', $ax ) || array_key_exists( 'http://axschema.org/namePerson/last', $ax ) ) {
269269 $fullname = $ax['http://axschema.org/namePerson/first'][0] . " " . $ax['http://axschema.org/namePerson/last'][0];
270270 }
271 -
 271+
272272 if ( $fullname && $this->userNameOK( $fullname ) ) {
273273 $wgOut->addHTML(
274274 Xml::openElement( 'tr' ) .
@@ -298,7 +298,7 @@
299299 }
300300 } // if $wgOpenIDProposeUsernameFromSREG
301301
302 - if ($wgOpenIDAllowAutomaticUsername) {
 302+ if ( $wgOpenIDAllowAutomaticUsername ) {
303303 $wgOut->addHTML(
304304 Xml::openElement( 'tr' ) .
305305 Xml::tags( 'td', array( 'class' => 'mw-label' ),
@@ -311,7 +311,7 @@
312312 );
313313 }
314314
315 - if ($wgOpenIDAllowNewAccountname) {
 315+ if ( $wgOpenIDAllowNewAccountname ) {
316316 $wgOut->addHTML(
317317
318318 Xml::openElement( 'tr' ) .
@@ -381,7 +381,7 @@
382382 }
383383
384384 $force = array();
385 - foreach( array( 'fullname', 'nickname', 'email', 'language' ) as $option ) {
 385+ foreach ( array( 'fullname', 'nickname', 'email', 'language' ) as $option ) {
386386 if ( $wgRequest->getCheck( 'wpUpdateUserInfo' . $option ) ) {
387387 $force[] = $option;
388388 }
@@ -448,9 +448,9 @@
449449 // This means the authentication succeeded.
450450 wfSuppressWarnings();
451451 $openid = $response->identity_url;
452 -
453 - if (!$this->canLogin($openid)) {
454 - $wgOut->showErrorPage('openidpermission', 'openidpermissiontext');
 452+
 453+ if ( !$this->canLogin( $openid ) ) {
 454+ $wgOut->showErrorPage( 'openidpermission', 'openidpermissiontext' );
455455 return;
456456 }
457457
@@ -474,14 +474,14 @@
475475 $this->displaySuccessLogin( $openid );
476476 } else {
477477 // if we are hardcoding nickname, and a valid e-mail address was returned, create a user with this name
478 - if ($wgOpenIDUseEmailAsNickname) {
 478+ if ( $wgOpenIDUseEmailAsNickname ) {
479479 $name = $this->getNameFromEmail( $openid, $sreg, $ax );
480 - if ( !empty($name) && $this->userNameOk( $name ) ) {
 480+ if ( !empty( $name ) && $this->userNameOk( $name ) ) {
481481 $wgUser = $this->createUser( $openid, $sreg, $ax, $name );
482482 $this->displaySuccessLogin( $openid );
483483 return;
484484 }
485 - }
 485+ }
486486
487487 $this->saveValues( $openid, $sreg, $ax );
488488 $this->chooseNameForm( $openid, $sreg, $ax );
@@ -516,7 +516,7 @@
517517 if ( array_key_exists ( 'http://axschema.org/contact/email', $ax ) ) {
518518 $email = $ax['http://axschema.org/contact/email'][0];
519519 }
520 - if ($email) {
 520+ if ( $email ) {
521521 // If email changed, then email a confirmation mail
522522 if ( $email != $user->getEmail() ) {
523523 $user->setEmail( $email );
@@ -526,7 +526,7 @@
527527 $user->invalidateEmail();
528528 if ( $wgEmailAuthentication && $email != '' ) {
529529 $result = $user->sendConfirmationMail();
530 - if( WikiError::isError( $result ) ) {
 530+ if ( WikiError::isError( $result ) ) {
531531 $wgOut->addWikiMsg( 'mailerror', $result->getMessage() );
532532 }
533533 }
@@ -542,7 +542,7 @@
543543 }
544544
545545 if ( array_key_exists( 'http://axschema.org/namePerson/first', $ax ) || array_key_exists( 'http://axschema.org/namePerson/last', $ax ) ) {
546 - $user->setRealName($ax['http://axschema.org/namePerson/first'][0] . " " . $ax['http://axschema.org/namePerson/last'][0]);
 546+ $user->setRealName( $ax['http://axschema.org/namePerson/first'][0] . " " . $ax['http://axschema.org/namePerson/last'][0] );
547547 }
548548 }
549549
@@ -630,7 +630,7 @@
631631 $wgAuth->updateUser( $user );
632632
633633 $wgUser = $user;
634 -
 634+
635635 # new user account: not opened by mail
636636 wfRunHooks( 'AddNewAccount', array( $user, false ) );
637637 $user->addNewUserLogEntry();
@@ -670,13 +670,13 @@
671671
672672 switch ( $choice ) {
673673 case 'nick':
674 - if ($wgOpenIDProposeUsernameFromSREG) return ( ( array_key_exists( 'nickname', $sreg ) ) ? $sreg['nickname'] : null );
 674+ if ( $wgOpenIDProposeUsernameFromSREG ) return ( ( array_key_exists( 'nickname', $sreg ) ) ? $sreg['nickname'] : null );
675675 break;
676676 case 'full':
677 - if (!$wgOpenIDProposeUsernameFromSREG) return;
 677+ if ( !$wgOpenIDProposeUsernameFromSREG ) return;
678678 # check the SREG first; only return a value if non-null
679679 $fullname = ( ( array_key_exists( 'fullname', $sreg ) ) ? $sreg['fullname'] : null );
680 - if (!is_null($fullname)) {
 680+ if ( !is_null( $fullname ) ) {
681681 return $fullname;
682682 }
683683
@@ -686,13 +686,13 @@
687687 return $fullname;
688688 break;
689689 case 'url':
690 - if ($wgOpenIDProposeUsernameFromSREG) return $this->toUserName( $openid );
 690+ if ( $wgOpenIDProposeUsernameFromSREG ) return $this->toUserName( $openid );
691691 break;
692692 case 'auto':
693 - if ($wgOpenIDAllowAutomaticUsername) return $this->automaticName( $sreg );
 693+ if ( $wgOpenIDAllowAutomaticUsername ) return $this->automaticName( $sreg );
694694 break;
695695 case 'manual':
696 - if ($wgOpenIDAllowNewAccountname) return $nameValue;
 696+ if ( $wgOpenIDAllowNewAccountname ) return $nameValue;
697697 default:
698698 return null;
699699 }
@@ -706,7 +706,7 @@
707707 }
708708 }
709709
710 - function getNameFromEmail($openid, $sreg, $ax) {
 710+ function getNameFromEmail( $openid, $sreg, $ax ) {
711711
712712 # return the part before the @ in the e-mail address;
713713 # look at AX, then SREG.
Index: trunk/extensions/OpenID/SpecialOpenID.body.php
@@ -252,19 +252,19 @@
253253 // Create attribute request object. Depending on your endpoint, you can request many things:
254254 // see http://code.google.com/apis/accounts/docs/OpenID.html#Parameters for parameters.
255255 // Usage: make($type_uri, $count=1, $required=false, $alias=null)
256 - $attribute[] = Auth_OpenID_AX_AttrInfo::make('http://axschema.org/contact/email', 1, 1, 'email');
257 - $attribute[] = Auth_OpenID_AX_AttrInfo::make('http://axschema.org/namePerson/first', 1, 1, 'firstname');
258 - $attribute[] = Auth_OpenID_AX_AttrInfo::make('http://axschema.org/namePerson/last', 1, 1, 'lastname');
 256+ $attribute[] = Auth_OpenID_AX_AttrInfo::make( 'http://axschema.org/contact/email', 1, 1, 'email' );
 257+ $attribute[] = Auth_OpenID_AX_AttrInfo::make( 'http://axschema.org/namePerson/first', 1, 1, 'firstname' );
 258+ $attribute[] = Auth_OpenID_AX_AttrInfo::make( 'http://axschema.org/namePerson/last', 1, 1, 'lastname' );
259259
260260 // Create AX fetch request and add attributes
261261 $ax_request = new Auth_OpenID_AX_FetchRequest;
262262
263 - foreach($attribute as $attr){
264 - $ax_request->add($attr);
 263+ foreach ( $attribute as $attr ) {
 264+ $ax_request->add( $attr );
265265 }
266266
267 - if ($ax_request) {
268 - $auth_request->addExtension($ax_request);
 267+ if ( $ax_request ) {
 268+ $auth_request->addExtension( $ax_request );
269269 }
270270
271271 $process_url = $this->scriptUrl( $finish_page );
@@ -316,7 +316,7 @@
317317 }
318318
319319 protected function setupSession() {
320 - if( session_id() == '' ) {
 320+ if ( session_id() == '' ) {
321321 wfSetupSession();
322322 }
323323 }
@@ -339,7 +339,7 @@
340340 __METHOD__
341341 );
342342
343 - foreach( $res as $row ) {
 343+ foreach ( $res as $row ) {
344344 $openid_urls[] = $row->uoi_openid;
345345 }
346346 $res->free();
Index: trunk/extensions/OpenID/SpecialOpenIDConvert.body.php
@@ -36,7 +36,7 @@
3737 function execute( $par ) {
3838 global $wgRequest, $wgUser, $wgOut;
3939
40 - if ( !$this->userCanExecute($wgUser) ) {
 40+ if ( !$this->userCanExecute( $wgUser ) ) {
4141 $this->displayRestrictionError();
4242 return;
4343 }
@@ -137,7 +137,7 @@
138138 $wgOut->addHTML(
139139 Xml::openElement( 'form', array( 'id' => 'openid_form', 'action' => $this->getTitle()->getLocalUrl(), 'method' => 'post', 'onsubmit' => 'openid.update()' ) ) .
140140 Xml::fieldset( wfMsg( 'openidconvertoraddmoreids' ) ) .
141 - Xml::openElement('p') . wfMsg( 'openidconvertinstructions' ) . Xml::closeElement( 'p' ) .
 141+ Xml::openElement( 'p' ) . wfMsg( 'openidconvertinstructions' ) . Xml::closeElement( 'p' ) .
142142 $largeButtonsHTML .
143143 '<div id="openid_input_area">' .
144144 $formsHTML .
@@ -166,7 +166,7 @@
167167 if ( $wgUser->mPassword == '' ) {
168168 $wgOut->showErrorPage( 'openiderror', 'openiddeleteerrornopassword' );
169169 return;
170 - } elseif( $wgOpenIDOnly ) {
 170+ } elseif ( $wgOpenIDOnly ) {
171171 $wgOut->showErrorPage( 'openiderror', 'openiddeleteerroropenidonly' );
172172 return;
173173 }
@@ -216,8 +216,8 @@
217217 // This means the authentication succeeded.
218218 $openid_url = $response->identity_url;
219219
220 - if (!$this->canLogin($openid_url)) {
221 - $wgOut->showErrorPage('openidpermission', 'openidpermissiontext');
 220+ if ( !$this->canLogin( $openid_url ) ) {
 221+ $wgOut->showErrorPage( 'openidpermission', 'openidpermissiontext' );
222222 return;
223223 }
224224
Index: trunk/extensions/OpenID/OpenID.php
@@ -61,8 +61,8 @@
6262
6363 /**
6464 * Implicitly trust the e-mail address sent from the OpenID server, and don't
65 - * ask the user to verify it. This can lead to people with a nasty OpenID
66 - * provider setting up accounts and spamming
 65+ * ask the user to verify it. This can lead to people with a nasty OpenID
 66+ * provider setting up accounts and spamming
6767 */
6868 $wgOpenIDTrustEmailAddress = false;
6969
@@ -104,8 +104,8 @@
105105 $wgOpenIDConsumerDeny = array();
106106
107107 /**
108 - * Force this server to only allow authentication against one server;
109 - * hides the selection form entirely.
 108+ * Force this server to only allow authentication against one server;
 109+ * hides the selection form entirely.
110110 */
111111 $wgOpenIDConsumerForce = null;
112112
Index: trunk/extensions/OpenID/SpecialOpenIDDashboard.body.php
@@ -65,7 +65,7 @@
6666 global $wgOpenIDAllowServingOpenIDUserAccounts;
6767 global $wgOpenIDShowProviderIcons;
6868
69 - if ( !$this->userCanExecute($wgUser) ) {
 69+ if ( !$this->userCanExecute( $wgUser ) ) {
7070 $this->displayRestrictionError();
7171 return;
7272 }
@@ -76,7 +76,7 @@
7777
7878 $this->setHeaders();
7979 $this->outputHeader();
80 -
 80+
8181 $wgOut->addWikiMsg( 'openid-dashboard-introduction', 'http://www.mediawiki.org/wiki/Extension:OpenID' );
8282
8383 $wgOut->addHTML(
@@ -95,7 +95,7 @@
9696 $out .= $this->show( '$wgOpenIDProposeUsernameFromSREG', $wgOpenIDProposeUsernameFromSREG );
9797 $out .= $this->show( '$wgOpenIDShowUrlOnUserPage', $wgOpenIDShowUrlOnUserPage );
9898 $out .= $this->show( '$wgOpenIDShowProviderIcons', $wgOpenIDShowProviderIcons );
99 -
 99+
100100 $out .= $this->show( 'Number of users (total)', $totalUsers );
101101 $out .= $this->show( 'Number of users with OpenID', $OpenIDdistinctUsers );
102102 $out .= $this->show( 'Number of OpenIDs (total)', $OpenIDUsers );
Index: trunk/extensions/OpenID/optionToTable.php
@@ -37,7 +37,7 @@
3838
3939 public function execute() {
4040 $dbr = wfGetDB( DB_SLAVE );
41 - if( !$dbr->tableExists( 'user_properties' ) ) {
 41+ if ( !$dbr->tableExists( 'user_properties' ) ) {
4242 $this->error( "The OpenID extension requires at least MediaWiki 1.16.", true );
4343 }
4444
@@ -45,8 +45,8 @@
4646 $dbr = wfGetDB( DB_SLAVE );
4747 $res = $dbr->select( array( 'user_properties' ), array( 'up_user' ),
4848 array( 'up_property' => 'openid_url' ), __METHOD__ );
49 - if( $dbr->numRows( $res ) ) {
50 - foreach( $res as $row ) {
 49+ if ( $dbr->numRows( $res ) ) {
 50+ foreach ( $res as $row ) {
5151 $user = User::newFromId( $row->up_user );
5252 $this->output( "\n\tFixing {$user->getName()}" );
5353 SpecialOpenID::addUserUrl( $user, $user->getOption( 'openid_url' ) );
Index: trunk/extensions/OpenID/DatabaseConnection.php
@@ -73,7 +73,7 @@
7474 return false;
7575
7676 $ret = array();
77 - foreach( $res as $row ) {
 77+ foreach ( $res as $row ) {
7878 $ret[] = (array)$row;
7979 }
8080 return $ret;

Status & tagging log