aboutsummaryrefslogtreecommitdiffstats
path: root/core/js/js.js
diff options
context:
space:
mode:
Diffstat (limited to 'core/js/js.js')
-rw-r--r--core/js/js.js14
1 files changed, 0 insertions, 14 deletions
diff --git a/core/js/js.js b/core/js/js.js
index 40b5630e9de..d665d036220 100644
--- a/core/js/js.js
+++ b/core/js/js.js
@@ -18,20 +18,6 @@ Object.assign(window.OC, {
},
/**
- },
-
- /**
- * Loads translations for the given app asynchronously.
- *
- * @param {String} app app name
- * @param {Function} callback callback to call after loading
- * @return {Promise}
- */
- addTranslations: function(app, callback) {
- return OC.L10N.load(app, callback);
- },
-
- /**
* Parses a URL query string into a JS map
* @param {string} queryString query string in the format param1=1234&param2=abcde&param3=xyz
* @return {Object.<string, string>} map containing key/values matching the URL parameters