aboutsummaryrefslogtreecommitdiffstats
path: root/includes/SpecialUndelete.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/SpecialUndelete.php')
-rw-r--r--includes/SpecialUndelete.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/includes/SpecialUndelete.php b/includes/SpecialUndelete.php
index 6b4833d87004..91b3273556cf 100644
--- a/includes/SpecialUndelete.php
+++ b/includes/SpecialUndelete.php
@@ -217,8 +217,7 @@ class PageArchive {
# FIXME: Update latest if newer as well...
if( $newid ) {
# FIXME: update article count if changed...
- $article->updateRevisionOn( $dbw, $revision->getId(),
- $revision->getText(), $previousRevId );
+ $article->updateRevisionOn( $dbw, $revision, $previousRevId );
# Finally, clean up the link tables
$wgLinkCache = new LinkCache();