Same for $this->user
[lhc/web/wiklou.git] / includes / SpecialRecentchangeslinked.php
index 4245603..ee01dfa 100644 (file)
@@ -25,12 +25,12 @@ function wfSpecialRecentchangeslinked( $par = NULL ) {
        $sk = $wgUser->getSkin();
 
        if (is_null($target)) {
-               $wgOut->errorpage( 'notargettitle', 'notargettext' );
+               $wgOut->showErrorPage( 'notargettitle', 'notargettext' );
                return;
        }
        $nt = Title::newFromURL( $target );
        if( !$nt ) {
-               $wgOut->errorpage( 'notargettitle', 'notargettext' );
+               $wgOut->showErrorPage( 'notargettitle', 'notargettext' );
                return;
        }
        $id = $nt->getArticleId();