From: Joshua Rüsweg Date: Thu, 31 Jan 2019 14:01:58 +0000 (+0100) Subject: Remove legacy code X-Git-Tag: 5.2.0_Alpha_1~296^2~16 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c5878453968dea7b326c1591c536ea5c827eba66;p=GitHub%2FWoltLab%2FWCF.git Remove legacy code See #2825 --- diff --git a/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/File/Upload.js b/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/File/Upload.js index b951728b84..753a65e0dc 100644 --- a/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/File/Upload.js +++ b/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/File/Upload.js @@ -36,7 +36,7 @@ define(['Core', 'Language', 'Dom/Util', 'WoltLabSuite/Core/Ui/File/Delete', 'Upl this._options.multiple = this._options.maxFiles === null || this._options.maxFiles > 1; - this._options.url = Core.convertLegacyUrl(this._options.url); + this._options.url = this._options.url; if (this._options.url.indexOf('index.php') === 0) { this._options.url = WSC_API_URL + this._options.url; }