r76122 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r76121‎ | r76122 | r76123 >
Date:18:43, 5 November 2010
Author:questpc
Status:deferred
Tags:
Comment:
Removed proprietary debug calls mistakingly left in code
Modified paths:
  • /trunk/extensions/WikiSync/WikiSync.php (modified) (history)

Diff [purge]

Index: trunk/extensions/WikiSync/WikiSync.php
@@ -162,7 +162,6 @@
163163 global $wgExtensionAssetsPath;
164164 $localpath = dirname( __FILE__ );
165165 $remotepath = "$wgExtensionAssetsPath/WikiSync";
166 - sdv_debug(__METHOD__,array($localpath,$remotepath),true);
167166 $resourceLoader->register(
168167 array(
169168 'ext.wikisync' => new ResourceLoaderFileModule(
@@ -231,7 +230,6 @@
232231 if ( !$wgUser->isAnon() && !in_array( 'user', $ug ) ) {
233232 $ug[] = 'user';
234233 }
235 - sdv_debug("ug",$ug,true);
236234 if ( array_intersect( $groups, $ug ) ) {
237235 return true;
238236 }
@@ -256,7 +254,6 @@
257255 return self::checkUserMembership( self::$ltr_access_groups );
258256 } elseif ( $direction === null ) {
259257 $groups = array_merge( self::$rtl_access_groups, self::$ltr_access_groups );
260 - sdv_debug("initUser groups",$groups,true);
261258 return self::checkUserMembership( $groups );
262259 }
263260 return 'Bug: direction should be boolean or null, value (' . $direction . ') given in ' . __METHOD__;

Status & tagging log