aboutsummaryrefslogtreecommitdiffstats
path: root/core/src/globals.js
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2021-07-22 13:21:25 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2021-07-22 13:21:25 +0200
commit7ca81f360f42341b2941798374160d362507ba26 (patch)
treea3d4701504898e6c864980b989b78fc88ed92fbd /core/src/globals.js
parent49b490ce6d1d726aa1c335b0b5c440d8a3cae5ff (diff)
downloadnextcloud-server-7ca81f360f42341b2941798374160d362507ba26.tar.gz
nextcloud-server-7ca81f360f42341b2941798374160d362507ba26.zip
Fix eslint and update bundles
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'core/src/globals.js')
-rw-r--r--core/src/globals.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/globals.js b/core/src/globals.js
index 7c5ccd77e25..44dcae66e70 100644
--- a/core/src/globals.js
+++ b/core/src/globals.js
@@ -83,7 +83,7 @@ const deprecate = (func, funcName, version) => {
}
const setDeprecatedProp = (global, cb, msg) => {
- (Array.isArray(global) ? global : [global]).map(global => {
+ (Array.isArray(global) ? global : [global]).forEach(global => {
if (window[global] !== undefined) {
delete window[global]
}