TheDJ has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/65315


Change subject: UploadWizard: Remove unused function addWarning
......................................................................

UploadWizard: Remove unused function addWarning

This is no longer in use since
I6f2131283d0d1e79a166c5c158eab6b27beca8c7

Change-Id: I38a95e93c9c48c8a3b3648f115d27fa482210689
---
M resources/mw.UploadWizardUpload.js
1 file changed, 0 insertions(+), 10 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/UploadWizard 
refs/changes/15/65315/1

diff --git a/resources/mw.UploadWizardUpload.js 
b/resources/mw.UploadWizardUpload.js
index c37d105..ebb4a01 100644
--- a/resources/mw.UploadWizardUpload.js
+++ b/resources/mw.UploadWizardUpload.js
@@ -142,16 +142,6 @@
        },
 
        /**
-        * Queue some warnings for possible later consumption
-        */
-       addWarning: function( code, info ) {
-               if ( this.warnings === undefined ) {
-                       this.warnings = [];
-               }
-               this.warnings.push( [ code, info ] );
-       },
-
-       /**
         * Stop the upload -- we have failed for some reason
         */
        setError: function( code, info ) {

-- 
To view, visit https://gerrit.wikimedia.org/r/65315
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I38a95e93c9c48c8a3b3648f115d27fa482210689
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/UploadWizard
Gerrit-Branch: master
Gerrit-Owner: TheDJ <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to