summaryrefslogtreecommitdiffstats
path: root/core/src/globals.js
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2019-04-29 18:51:45 +0200
committerMorris Jobke <hey@morrisjobke.de>2019-05-06 10:12:47 +0200
commit6095ef223562fdf8956663a90d58aa35593c68e0 (patch)
treec8e4ecf5adc8452cf9308bdf333da4c805deb11a /core/src/globals.js
parent0877a2e6274ed233eb8773099bceaa32b870195f (diff)
downloadnextcloud-server-6095ef223562fdf8956663a90d58aa35593c68e0.tar.gz
nextcloud-server-6095ef223562fdf8956663a90d58aa35593c68e0.zip
Move oc_debug to the bundle
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'core/src/globals.js')
-rw-r--r--core/src/globals.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/globals.js b/core/src/globals.js
index 9fcf03ba9ee..01a7f3452ef 100644
--- a/core/src/globals.js
+++ b/core/src/globals.js
@@ -109,6 +109,7 @@ window['moment'] = moment
window['OC'] = OC
setDeprecatedProp('oc_config', OC.config, 'use OC.config instead')
setDeprecatedProp('oc_isadmin', OC.isUserAdmin(), 'use OC.isUserAdmin() instead')
+setDeprecatedProp('oc_debug', OC.debug, 'use OC.debug instead')
setDeprecatedProp('OCDialogs', OC.dialogs, 'use OC.dialogs instead')
window['OCP'] = OCP
window['OCA'] = OCA