Revert r44970 "Add FileCache exit back from r44801"
authorBrion Vibber <brion@users.mediawiki.org>
Tue, 23 Dec 2008 21:50:42 +0000 (21:50 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Tue, 23 Dec 2008 21:50:42 +0000 (21:50 +0000)
Forcing an exit from the middle of an initialization function seems like pretty poor practice.

includes/Wiki.php

index 2e00cde..ce5fd68 100644 (file)
@@ -239,8 +239,7 @@ class MediaWiki {
                                                $article->viewUpdates();
                                        }
                                        wfProfileOut( __METHOD__ );
-                                       $this->restInPeace();
-                                       exit;
+                                       return true;
                                }
                        }
                        /* No match to special cases */