Remove unused code

Change-Id: Ic72eb3db330e39ff989067cefa7514d7567d3f1a
GitHub: https://github.com/wikimedia/mediawiki-extensions-UploadWizard/pull/6