diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2019-05-02 16:03:58 +0200 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2019-05-06 17:55:30 +0200 |
commit | 249a5dbdba0dc3628c0f3490680de61dc91aafc8 (patch) | |
tree | 452f288909bb811146a0683b8a75c1b87932aadc /core/src/globals.js | |
parent | e0c62352b71441c2f843fd5f023000af342011a8 (diff) | |
download | nextcloud-server-249a5dbdba0dc3628c0f3490680de61dc91aafc8.tar.gz nextcloud-server-249a5dbdba0dc3628c0f3490680de61dc91aafc8.zip |
Move oc_webroot, OC.webroot and OC.getRootPath() 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.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/src/globals.js b/core/src/globals.js index 01a7f3452ef..bbe65009403 100644 --- a/core/src/globals.js +++ b/core/src/globals.js @@ -108,8 +108,9 @@ 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('oc_isadmin', OC.isUserAdmin(), 'use OC.isUserAdmin() instead') +setDeprecatedProp('oc_webroot', OC.webroot, 'use OC.getRootPath() instead') setDeprecatedProp('OCDialogs', OC.dialogs, 'use OC.dialogs instead') window['OCP'] = OCP window['OCA'] = OCA |