diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2019-05-14 09:08:08 +0200 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2019-05-14 09:37:26 +0200 |
commit | 6a8bc02b16eb31799c0b1324e6ea76b5ef49579f (patch) | |
tree | b1c5e17e2a23921c78cb478db1303af8779f3b84 /core/js/js.js | |
parent | b6c6be637536937c00c361da131da59b1f396aaf (diff) | |
download | nextcloud-server-6a8bc02b16eb31799c0b1324e6ea76b5ef49579f.tar.gz nextcloud-server-6a8bc02b16eb31799c0b1324e6ea76b5ef49579f.zip |
Move OC.addTranslations to the bundle and deprecate it
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'core/js/js.js')
-rw-r--r-- | core/js/js.js | 14 |
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¶m2=abcde¶m3=xyz * @return {Object.<string, string>} map containing key/values matching the URL parameters |