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 @@
541
541
}
542
542
} else {
543
543
// Revision couldn't be created. This is very weird
544
- return self::UNDELETE_UNKNOWNERR;
544
+ wfDebug( "Undelete: unknown error...\n" );
545
+ return false;
545
546
}
546
547
547
548
return $restored;
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r29931
* Changing PageArchive::undelete() and undeleteRevisions() to return false ra...
catrope
19:38, 18 January 2008
Status & tagging log
15:11, 31 July 2010
Catrope
(
talk
|
contribs
)
changed the
status
of r70129
[
removed:
new
added:
ok]