diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2019-05-10 14:18:08 +0200 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2019-05-13 08:27:43 +0200 |
commit | c624c102a6edbe51256aaf5c0025ff6331018f32 (patch) | |
tree | 224082375cd3a6c433d6f3481e548e99ed8a47a6 /core/js/js.js | |
parent | 0b136d28a3ab9a14f1a001c0bc8ca15d4a4abf4a (diff) | |
download | nextcloud-server-c624c102a6edbe51256aaf5c0025ff6331018f32.tar.gz nextcloud-server-c624c102a6edbe51256aaf5c0025ff6331018f32.zip |
Move OC.requestToken to the bundle, deprecate oc_requesttoken
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'core/js/js.js')
-rw-r--r-- | core/js/js.js | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/core/js/js.js b/core/js/js.js index f00b7bc2420..4a7f035db61 100644 --- a/core/js/js.js +++ b/core/js/js.js @@ -1,5 +1,3 @@ -var oc_requesttoken = document.getElementsByTagName('head')[0].getAttribute('data-requesttoken'); - /** @namespace OCP */ var OCP = Object.assign({}, window.OCP); @@ -16,7 +14,6 @@ Object.assign(window.OC, { _capabilities: window.oc_capabilities || null, theme: window.oc_defaults || {}, - requestToken: oc_requesttoken, /** * Check if a user file is allowed to be handled. |