Follow up r70095. Remove the now unused $wgAllowCopyUploads global.
authorPlatonides <platonides@users.mediawiki.org>
Sat, 31 Jul 2010 23:26:16 +0000 (23:26 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Sat, 31 Jul 2010 23:26:16 +0000 (23:26 +0000)
includes/api/ApiUpload.php

index a842311..c5ea2f7 100644 (file)
@@ -38,7 +38,7 @@ class ApiUpload extends ApiBase {
        }
 
        public function execute() {
-               global $wgUser, $wgAllowCopyUploads;
+               global $wgUser;
 
                // Check whether upload is enabled
                if ( !UploadBase::isEnabled() ) {