From: Aaron Schulz Date: Mon, 28 Apr 2008 17:30:07 +0000 (+0000) Subject: Missing out call X-Git-Tag: 1.31.0-rc.0~48026 X-Git-Url: http://git.cyclocoop.org/data/%24oldEdit?a=commitdiff_plain;h=54510d8bd5415e0ec9eea8c7a2e490b2f5485e53;p=lhc%2Fweb%2Fwiklou.git Missing out call --- diff --git a/includes/Title.php b/includes/Title.php index 142683da36..d08a2c4759 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -1109,7 +1109,8 @@ class Title { $intended = $user->mBlock->mAddress; - $errors[] = array ( ($block->mAuto ? 'autoblockedtext' : 'blockedtext'), $link, $reason, $ip, $name, $blockid, $blockExpiry, $intended, $blockTimestamp ); + $errors[] = array( ($block->mAuto ? 'autoblockedtext' : 'blockedtext'), $link, $reason, $ip, $name, + $blockid, $blockExpiry, $intended, $blockTimestamp ); } return $errors; @@ -1132,6 +1133,7 @@ class Title { // Use getUserPermissionsErrors instead if ( !wfRunHooks( 'userCan', array( &$this, &$user, $action, &$result ) ) ) { + wfProfileOut( __METHOD__ ); return $result ? array() : array( array( 'badaccess-group0' ) ); }