diff options
author | Alexandre Emsenhuber <ialex@users.mediawiki.org> | 2011-05-23 16:37:56 +0000 |
---|---|---|
committer | Alexandre Emsenhuber <ialex@users.mediawiki.org> | 2011-05-23 16:37:56 +0000 |
commit | 8f143934ecff977f4d3077bf415a112390bd8fb2 (patch) | |
tree | abbed41bde5a59eb16a4c02dee20c17a26ea7cf6 /index.php | |
parent | 4ac963f70f080283b156caa90ddec8e52d3e21b7 (diff) | |
download | mediawikicore-8f143934ecff977f4d3077bf415a112390bd8fb2.tar.gz mediawikicore-8f143934ecff977f4d3077bf415a112390bd8fb2.zip |
exit -> return now that we are in a function
Notes
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/88648
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/index.php b/index.php index 309e3ad4d5fd..d10af4451dc3 100644 --- a/index.php +++ b/index.php @@ -88,7 +88,7 @@ function wfIndexMain() { } else { echo "Waiting for a database server: $lag seconds lagged\n"; } - exit; + return; } } @@ -108,7 +108,7 @@ function wfIndexMain() { $dispatcher->performAction(); wfProfileOut( 'index.php' ); $mediaWiki->restInPeace(); - exit; + return; } if ( $wgUseFileCache && $wgTitle !== null ) { @@ -132,7 +132,7 @@ function wfIndexMain() { $mediaWiki->finalCleanup(); wfProfileOut( 'index.php' ); $mediaWiki->restInPeace(); - exit; + return; } } wfProfileOut( 'index.php-filecache' ); |