From 43ae02326002e11bb34abc95099298780226243b Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Sun, 5 Dec 2010 00:37:44 +0000 Subject: [PATCH] Followup r77748, throw NEW MWException --- includes/parser/ParserCache.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/parser/ParserCache.php b/includes/parser/ParserCache.php index a4b79b26a8..ea0292b851 100644 --- a/includes/parser/ParserCache.php +++ b/includes/parser/ParserCache.php @@ -32,7 +32,7 @@ class ParserCache { */ function __construct( $memCached ) { if ( !$memCached ) { - throw MWException( "Tried to create a ParserCache with an invalid memcached" ); + throw new MWException( "Tried to create a ParserCache with an invalid memcached" ); } $this->mMemc = $memCached; } -- 2.20.1