Missing out call
authorAaron Schulz <aaron@users.mediawiki.org>
Mon, 28 Apr 2008 17:30:07 +0000 (17:30 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Mon, 28 Apr 2008 17:30:07 +0000 (17:30 +0000)
includes/Title.php

index 142683d..d08a2c4 100644 (file)
@@ -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' ) );
                }