r56563 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r56562‎ | r56563 | r56564 >
Date:20:04, 17 September 2009
Author:catrope
Status:ok
Tags:
Comment:
EditToolbar: Fix stupid if ( !foo && foo ) construct, which is obviously never true.
Modified paths:
  • /trunk/extensions/UsabilityInitiative/EditToolbar/EditToolbar.hooks.php (modified) (history)

Diff [purge]

Index: trunk/extensions/UsabilityInitiative/EditToolbar/EditToolbar.hooks.php
@@ -221,7 +221,7 @@
222222 );
223223 }
224224
225 - if ( !$wgEditToolbarCGDGlobalEnable && $wgEditToolbarCGDGlobalEnable ) {
 225+ if ( !$wgEditToolbarCGDGlobalEnable && $wgEditToolbarCGDUserEnable ) {
226226 wfLoadExtensionMessages( 'EditToolbar' );
227227 $defaultPreferences['usebetatoolbar-cgd'] = array(
228228 'type' => 'toggle',

Status & tagging log