r77752 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r77751‎ | r77752 | r77753 >
Date:00:37, 5 December 2010
Author:reedy
Status:ok
Tags:
Comment:
Followup r77748, throw NEW MWException
Modified paths:
  • /trunk/phase3/includes/parser/ParserCache.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/parser/ParserCache.php
@@ -32,7 +32,7 @@
3333 */
3434 function __construct( $memCached ) {
3535 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" );
3737 }
3838 $this->mMemc = $memCached;
3939 }

Follow-up revisions

RevisionCommit summaryAuthorDate
r77828Detect erros such as the one fixed in r77752platonides20:41, 5 December 2010

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r77748Revert r70202. Replace with an exception.platonides23:36, 4 December 2010

Status & tagging log