summaryrefslogtreecommitdiffstats
path: root/core/src/globals.js
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2020-05-29 16:02:30 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2020-05-29 16:10:08 +0200
commit02095326385303b1febc74049579df6dc3700f23 (patch)
tree61134fb8309965c466a13479b8f8032495136feb /core/src/globals.js
parent532f4c41dae98e9cdfe50af6b67806982cd5111f (diff)
downloadnextcloud-server-02095326385303b1febc74049579df6dc3700f23.tar.gz
nextcloud-server-02095326385303b1febc74049579df6dc3700f23.zip
Move to @nextcloud/capabilities package
And kill of oc_capabilities and _oc_capabilities globals Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'core/src/globals.js')
-rw-r--r--core/src/globals.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/src/globals.js b/core/src/globals.js
index 275ea782d01..783c6556659 100644
--- a/core/src/globals.js
+++ b/core/src/globals.js
@@ -114,7 +114,6 @@ setDeprecatedProp('moment', () => moment, 'please ship your own, this will be re
window['OC'] = OC
setDeprecatedProp('initCore', () => initCore, 'this is an internal function')
setDeprecatedProp('oc_appswebroots', () => OC.appswebroots, 'use OC.appswebroots instead, this will be removed in Nextcloud 20')
-setDeprecatedProp('oc_capabilities', OC.getCapabilities, 'use OC.getCapabilities instead, this will be removed in Nextcloud 20')
setDeprecatedProp('oc_config', () => OC.config, 'use OC.config instead, this will be removed in Nextcloud 20')
setDeprecatedProp('oc_current_user', () => OC.getCurrentUser().uid, 'use OC.getCurrentUser().uid instead, this will be removed in Nextcloud 20')
setDeprecatedProp('oc_debug', () => OC.debug, 'use OC.debug instead, this will be removed in Nextcloud 20')