Index: trunk/phase3/includes/User.php |
— | — | @@ -1074,7 +1074,6 @@ |
1075 | 1075 | global $wgProxyWhitelist, $wgUser; |
1076 | 1076 | |
1077 | 1077 | if ( -1 != $this->mBlockedby ) { |
1078 | | - wfDebug( "User::getBlockedStatus: already loaded.\n" ); |
1079 | 1078 | return; |
1080 | 1079 | } |
1081 | 1080 | |
— | — | @@ -1338,7 +1337,6 @@ |
1339 | 1338 | * @return \bool True if blocked, false otherwise |
1340 | 1339 | */ |
1341 | 1340 | function isBlocked( $bFromSlave = true ) { // hacked from false due to horrible probs on site |
1342 | | - wfDebug( "User::isBlocked: enter\n" ); |
1343 | 1341 | $this->getBlockedStatus( $bFromSlave ); |
1344 | 1342 | return $this->mBlockedby !== 0; |
1345 | 1343 | } |
— | — | @@ -1353,9 +1351,7 @@ |
1354 | 1352 | function isBlockedFrom( $title, $bFromSlave = false ) { |
1355 | 1353 | global $wgBlockAllowsUTEdit; |
1356 | 1354 | wfProfileIn( __METHOD__ ); |
1357 | | - wfDebug( __METHOD__ . ": enter\n" ); |
1358 | 1355 | |
1359 | | - wfDebug( __METHOD__ . ": asking isBlocked()\n" ); |
1360 | 1356 | $blocked = $this->isBlocked( $bFromSlave ); |
1361 | 1357 | $allowUsertalk = ( $wgBlockAllowsUTEdit ? $this->mAllowUsertalk : false ); |
1362 | 1358 | # If a user's name is suppressed, they cannot make edits anywhere |