From 6b46d9f2e5069f3d3ad8ff0da9df752bf3c3ef3f Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Mon, 13 May 2019 21:29:40 +0200 Subject: Move OC.getCapabilities to the bundle and deprecate OC._capabilities, oc_capabilities Signed-off-by: Christoph Wurst --- core/js/js.js | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'core/js/js.js') 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 || {}, @@ -70,17 +64,6 @@ Object.assign(window.OC, { return window.location.port; }, - /** - * Returns the capabilities - * - * @return {array} capabilities - * - * @since 14.0 - */ - getCapabilities: function() { - return OC._capabilities; - }, - /** * Loads translations for the given app asynchronously. * -- cgit v1.2.3