jenkins-bot has submitted this change and it was merged.
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(-)
Approvals:
Nischayn22: Checked; Looks good to me, approved
jenkins-bot: Verified
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: merged
Gerrit-Change-Id: I38a95e93c9c48c8a3b3648f115d27fa482210689
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/UploadWizard
Gerrit-Branch: master
Gerrit-Owner: TheDJ <[email protected]>
Gerrit-Reviewer: Nischayn22 <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits