From 4c13e8800e7c02e6573745c13784fe3fbc01b6ef Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Tue, 23 Dec 2008 21:50:42 +0000 Subject: [PATCH] Revert r44970 "Add FileCache exit back from r44801" Forcing an exit from the middle of an initialization function seems like pretty poor practice. --- includes/Wiki.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/includes/Wiki.php b/includes/Wiki.php index 2e00cdeba7..ce5fd68c9e 100644 --- a/includes/Wiki.php +++ b/includes/Wiki.php @@ -239,8 +239,7 @@ class MediaWiki { $article->viewUpdates(); } wfProfileOut( __METHOD__ ); - $this->restInPeace(); - exit; + return true; } } /* No match to special cases */ -- 2.20.1