From: Robin Pepermans Date: Sun, 3 Jul 2011 17:56:59 +0000 (+0000) Subject: Changing back to $wgUser in SpecialImport.php. Importing pages returned "call to... X-Git-Tag: 1.31.0-rc.0~29097 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/?a=commitdiff_plain;h=1bc2eb8a8188a893a837235b0ec277136cd756cc;p=lhc%2Fweb%2Fwiklou.git Changing back to $wgUser in SpecialImport.php. Importing pages returned "call to undefined method ImportReporter::getSkin()" due to r91246. --- diff --git a/includes/specials/SpecialImport.php b/includes/specials/SpecialImport.php index e41685db45..3e6e344cc0 100644 --- a/includes/specials/SpecialImport.php +++ b/includes/specials/SpecialImport.php @@ -350,7 +350,7 @@ class ImportReporter { $args = func_get_args(); call_user_func_array( $this->mOriginalPageOutCallback, $args ); - $skin = $this->getSkin(); + $skin = $wgUser->getSkin(); $this->mPageCount++;