From 54510d8bd5415e0ec9eea8c7a2e490b2f5485e53 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Mon, 28 Apr 2008 17:30:07 +0000 Subject: [PATCH] Missing out call --- includes/Title.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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' ) ); } -- 2.20.1