aboutsummaryrefslogtreecommitdiffstats
path: root/core/js/js.js
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2019-05-13 21:29:40 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2019-05-13 21:30:01 +0200
commit6b46d9f2e5069f3d3ad8ff0da9df752bf3c3ef3f (patch)
treea39bc78348aac2f07e34d1259ec33ce3967f44a3 /core/js/js.js
parent5ee6872c8ab688451b2489d35a9a19bbce457e98 (diff)
downloadnextcloud-server-6b46d9f2e5069f3d3ad8ff0da9df752bf3c3ef3f.tar.gz
nextcloud-server-6b46d9f2e5069f3d3ad8ff0da9df752bf3c3ef3f.zip
Move OC.getCapabilities to the bundle and deprecate OC._capabilities, oc_capabilities
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'core/js/js.js')
-rw-r--r--core/js/js.js17
1 files changed, 0 insertions, 17 deletions
diff --git a/core/js/js.js b/core/js/js.js
index 6a5c04fd2c6..7cccc66dc28 100644
--- a/core/js/js.js
+++ b/core/js/js.js
@@ -6,12 +6,6 @@ var OCP = Object.assign({}, window.OCP);
*/
Object.assign(window.OC, {
/* jshint camelcase: false */
- /**
- * Capabilities
- *
- * @type array
- */
- _capabilities: window.oc_capabilities || null,
theme: window.oc_defaults || {},
@@ -71,17 +65,6 @@ Object.assign(window.OC, {
},
/**
- * Returns the capabilities
- *
- * @return {array} capabilities
- *
- * @since 14.0
- */
- getCapabilities: function() {
- return OC._capabilities;
- },
-
- /**
* Loads translations for the given app asynchronously.
*
* @param {String} app app name