fix deprecated method usage
authorJeroen De Dauw <jeroendedauw@users.mediawiki.org>
Tue, 13 Dec 2011 19:51:54 +0000 (19:51 +0000)
committerJeroen De Dauw <jeroendedauw@users.mediawiki.org>
Tue, 13 Dec 2011 19:51:54 +0000 (19:51 +0000)
includes/Article.php

index 7623d71..80ae240 100644 (file)
@@ -615,7 +615,7 @@ class Article extends Page {
                $wgOut->setFollowPolicy( $policy['follow'] );
 
                $this->showViewFooter();
-               $this->mPage->viewUpdates();
+               $this->mPage->doViewUpdates( $this->getContext()->getUser() );
 
                wfProfileOut( __METHOD__ );
        }