aboutsummaryrefslogtreecommitdiffstats
path: root/includes/SpecialUndelete.php
diff options
context:
space:
mode:
authorBrion Vibber <brion@users.mediawiki.org>2005-03-13 07:49:15 +0000
committerBrion Vibber <brion@users.mediawiki.org>2005-03-13 07:49:15 +0000
commit52d6ed34f1ce87ed326f88f8191f9ca566362cfa (patch)
treee639c5a26f399dd76c7c3392ea0a8eadeaa4522f /includes/SpecialUndelete.php
parentf3fecc6331ff1e47bf00a3af971abac303159c9f (diff)
downloadmediawikicore-52d6ed34f1ce87ed326f88f8191f9ca566362cfa.tar.gz
mediawikicore-52d6ed34f1ce87ed326f88f8191f9ca566362cfa.zip
Change interface to Article::updateRevisionOn() to take a Revision object instead of pieces
Notes
Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/7666
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();