From: Platonides Date: Fri, 28 Jan 2011 17:34:37 +0000 (+0000) Subject: Remove empty statement (r80993) and unused global (r80766). X-Git-Tag: 1.31.0-rc.0~32321 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/comptes/ajouter.php?a=commitdiff_plain;h=56eee48fcf0aae558fc7a9cc79d41ced645cea73;p=lhc%2Fweb%2Fwiklou.git Remove empty statement (r80993) and unused global (r80766). --- diff --git a/includes/specials/SpecialUpload.php b/includes/specials/SpecialUpload.php index bc1ff01c1e..e14dd19da9 100644 --- a/includes/specials/SpecialUpload.php +++ b/includes/specials/SpecialUpload.php @@ -558,7 +558,7 @@ class SpecialUpload extends SpecialPage { * @param $details Array: result of UploadBase::verifyUpload */ protected function processVerificationError( $details ) { - global $wgFileExtensions, $wgLang; + global $wgFileExtensions; switch( $details['status'] ) { diff --git a/includes/upload/UploadBase.php b/includes/upload/UploadBase.php index af9a26ec86..29fe73b215 100644 --- a/includes/upload/UploadBase.php +++ b/includes/upload/UploadBase.php @@ -661,7 +661,7 @@ abstract class UploadBase { * @return File: stashed file */ public function stashSessionFile( $key = null ) { - $stash = RepoGroup::singleton()->getLocalRepo()->getUploadStash();; + $stash = RepoGroup::singleton()->getLocalRepo()->getUploadStash(); $data = array( 'mFileProps' => $this->mFileProps, 'mSourceType' => $this->getSourceType(),