From: Sam Reed Date: Sun, 5 Dec 2010 00:37:44 +0000 (+0000) Subject: Followup r77748, throw NEW MWException X-Git-Tag: 1.31.0-rc.0~33565 X-Git-Url: http://git.cyclocoop.org/%22.%24image2.%22?a=commitdiff_plain;h=43ae02326002e11bb34abc95099298780226243b;p=lhc%2Fweb%2Fwiklou.git Followup r77748, throw NEW MWException --- 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; }