aboutsummaryrefslogtreecommitdiffstats
path: root/core/src
diff options
context:
space:
mode:
authorFerdinand Thiessen <opensource@fthiessen.de>2024-02-08 18:46:57 +0100
committerFerdinand Thiessen <opensource@fthiessen.de>2024-02-08 18:46:57 +0100
commita5891fb2ecca3a74d802abe133a649e62cfeb42c (patch)
treebe6ec3b621b16094e8319f46b69876387f374257 /core/src
parentcdf7840d00a116b4cd7a1909f7f24e60a79aebd6 (diff)
downloadnextcloud-server-a5891fb2ecca3a74d802abe133a649e62cfeb42c.tar.gz
nextcloud-server-a5891fb2ecca3a74d802abe133a649e62cfeb42c.zip
chore!: Remove global `autosize`
It was deprecated for over 4 years and scheduled for removal with Nextcloud 20. Not used by server or any app anymore. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'core/src')
-rw-r--r--core/src/globals.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/src/globals.js b/core/src/globals.js
index 1a4c0582768..972778d2484 100644
--- a/core/src/globals.js
+++ b/core/src/globals.js
@@ -35,7 +35,6 @@ import 'jquery-ui-dist/jquery-ui.js'
import 'jquery-ui-dist/jquery-ui.css'
import 'jquery-ui-dist/jquery-ui.theme.css'
// END TODO
-import autosize from 'autosize'
import Backbone from 'backbone'
import './Polyfill/tooltip.js'
import ClipboardJS from 'clipboard'
@@ -100,11 +99,11 @@ const setDeprecatedProp = (global, cb, msg) => {
window._ = _
setDeprecatedProp(['$', 'jQuery'], () => $, 'The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own.')
-setDeprecatedProp('autosize', () => autosize, 'please ship your own, this will be removed in Nextcloud 20')
setDeprecatedProp('Backbone', () => Backbone, 'please ship your own, this will be removed in Nextcloud 20')
setDeprecatedProp(['Clipboard', 'ClipboardJS'], () => ClipboardJS, 'please ship your own, this will be removed in Nextcloud 20')
window.dav = dav
setDeprecatedProp('Handlebars', () => Handlebars, 'please ship your own, this will be removed in Nextcloud 20')
+// Global md5 only required for: apps/files/js/file-upload.js
setDeprecatedProp('md5', () => md5, 'please ship your own, this will be removed in Nextcloud 20')
setDeprecatedProp('moment', () => moment, 'please ship your own, this will be removed in Nextcloud 20')