Index: trunk/extensions/WikiSync/WikiSync.php |
— | — | @@ -162,7 +162,6 @@ |
163 | 163 | global $wgExtensionAssetsPath; |
164 | 164 | $localpath = dirname( __FILE__ ); |
165 | 165 | $remotepath = "$wgExtensionAssetsPath/WikiSync"; |
166 | | - sdv_debug(__METHOD__,array($localpath,$remotepath),true); |
167 | 166 | $resourceLoader->register( |
168 | 167 | array( |
169 | 168 | 'ext.wikisync' => new ResourceLoaderFileModule( |
— | — | @@ -231,7 +230,6 @@ |
232 | 231 | if ( !$wgUser->isAnon() && !in_array( 'user', $ug ) ) { |
233 | 232 | $ug[] = 'user'; |
234 | 233 | } |
235 | | - sdv_debug("ug",$ug,true); |
236 | 234 | if ( array_intersect( $groups, $ug ) ) { |
237 | 235 | return true; |
238 | 236 | } |
— | — | @@ -256,7 +254,6 @@ |
257 | 255 | return self::checkUserMembership( self::$ltr_access_groups ); |
258 | 256 | } elseif ( $direction === null ) { |
259 | 257 | $groups = array_merge( self::$rtl_access_groups, self::$ltr_access_groups ); |
260 | | - sdv_debug("initUser groups",$groups,true); |
261 | 258 | return self::checkUserMembership( $groups ); |
262 | 259 | } |
263 | 260 | return 'Bug: direction should be boolean or null, value (' . $direction . ') given in ' . __METHOD__; |