dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6561a9e
)
Move doNothing return check above global declarations
author
Aaron Schulz
<aaron@users.mediawiki.org>
Sat, 27 Dec 2008 05:09:54 +0000
(
05:09
+0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Sat, 27 Dec 2008 05:09:54 +0000
(
05:09
+0000)
includes/OutputPage.php
patch
|
blob
|
history
diff --git
a/includes/OutputPage.php
b/includes/OutputPage.php
index
f8dba71
..
ab97478
100644
(file)
--- a/
includes/OutputPage.php
+++ b/
includes/OutputPage.php
@@
-798,16
+798,13
@@
class OutputPage {
* the object, let's actually output it:
*/
public function output() {
+ if( $this->mDoNothing ) return;
global $wgUser, $wgOutputEncoding, $wgRequest;
global $wgContLanguageCode, $wgDebugRedirects, $wgMimeType;
global $wgJsMimeType, $wgUseAjax, $wgAjaxWatch;
global $wgEnableMWSuggest, $wgUniversalEditButton;
global $wgArticle, $wgTitle;
- if( $this->mDoNothing ){
- return;
- }
-
wfProfileIn( __METHOD__ );
if ( '' != $this->mRedirect ) {