Index: trunk/phase3/includes/parser/ParserCache.php |
— | — | @@ -32,7 +32,7 @@ |
33 | 33 | */ |
34 | 34 | function __construct( $memCached ) { |
35 | 35 | if ( !$memCached ) { |
36 | | - throw MWException( "Tried to create a ParserCache with an invalid memcached" ); |
| 36 | + throw new MWException( "Tried to create a ParserCache with an invalid memcached" ); |
37 | 37 | } |
38 | 38 | $this->mMemc = $memCached; |
39 | 39 | } |