Remove legacy code
authorJoshua Rüsweg <josh@bastelstu.be>
Thu, 31 Jan 2019 14:01:58 +0000 (15:01 +0100)
committerJoshua Rüsweg <josh@bastelstu.be>
Thu, 31 Jan 2019 14:01:58 +0000 (15:01 +0100)
See #2825

wcfsetup/install/files/js/WoltLabSuite/Core/Ui/File/Upload.js

index b951728b8433b774b53dec438e22714e0cff93de..753a65e0dcf33c970cacff13106092443ac39c52 100644 (file)
@@ -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;
                }