From: Platonides Date: Sat, 31 Jul 2010 23:26:16 +0000 (+0000) Subject: Follow up r70095. Remove the now unused $wgAllowCopyUploads global. X-Git-Tag: 1.31.0-rc.0~35813 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/ajouter.php?a=commitdiff_plain;h=e333031c75c00856bdc987f357563af14e2600f6;p=lhc%2Fweb%2Fwiklou.git Follow up r70095. Remove the now unused $wgAllowCopyUploads global. --- diff --git a/includes/api/ApiUpload.php b/includes/api/ApiUpload.php index a842311392..c5ea2f790e 100644 --- a/includes/api/ApiUpload.php +++ b/includes/api/ApiUpload.php @@ -38,7 +38,7 @@ class ApiUpload extends ApiBase { } public function execute() { - global $wgUser, $wgAllowCopyUploads; + global $wgUser; // Check whether upload is enabled if ( !UploadBase::isEnabled() ) {