http://www.mediawiki.org/wiki/Special:Code/MediaWiki/88648

Revision: 88648
Author:   ialex
Date:     2011-05-23 16:37:56 +0000 (Mon, 23 May 2011)
Log Message:
-----------
exit -> return now that we are in a function

Modified Paths:
--------------
    trunk/phase3/index.php

Modified: trunk/phase3/index.php
===================================================================
--- trunk/phase3/index.php      2011-05-23 16:36:33 UTC (rev 88647)
+++ trunk/phase3/index.php      2011-05-23 16:37:56 UTC (rev 88648)
@@ -88,7 +88,7 @@
                        } else {
                                echo "Waiting for a database server: $lag 
seconds lagged\n";
                        }
-                       exit;
+                       return;
                }
        }
 
@@ -108,7 +108,7 @@
                $dispatcher->performAction();
                wfProfileOut( 'index.php' );
                $mediaWiki->restInPeace();
-               exit;
+               return;
        }
 
        if ( $wgUseFileCache && $wgTitle !== null ) {
@@ -132,7 +132,7 @@
                                $mediaWiki->finalCleanup();
                                wfProfileOut( 'index.php' );
                                $mediaWiki->restInPeace();
-                               exit;
+                               return;
                        }
                }
                wfProfileOut( 'index.php-filecache' );


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to