r70129 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r70128‎ | r70129 | r70130 >
Date:07:43, 29 July 2010
Author:reedy
Status:ok
Tags:
Comment:
Followup r29931

Remove UNDELETE_UNKNOWNERR (was removed in that rev, so hence, undefined now)

Do a wfDebug() and return false
Modified paths:
  • /trunk/phase3/includes/specials/SpecialUndelete.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialUndelete.php
@@ -540,7 +540,8 @@
541541 }
542542 } else {
543543 // Revision couldn't be created. This is very weird
544 - return self::UNDELETE_UNKNOWNERR;
 544+ wfDebug( "Undelete: unknown error...\n" );
 545+ return false;
545546 }
546547
547548 return $restored;

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r29931* Changing PageArchive::undelete() and undeleteRevisions() to return false ra...catrope19:38, 18 January 2008

Status & tagging log