diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2019-05-13 09:11:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-13 09:11:12 +0200 |
commit | f7595bc17e54bfe07bdaa3328c5a7543bd4b2ab3 (patch) | |
tree | fb006691df37894e772d6101ea7b3c541ce38af8 /core/js/js.js | |
parent | 8dd54fe64c181d6feb29e09c8c1371aba32ff9df (diff) | |
parent | c624c102a6edbe51256aaf5c0025ff6331018f32 (diff) | |
download | nextcloud-server-f7595bc17e54bfe07bdaa3328c5a7543bd4b2ab3.tar.gz nextcloud-server-f7595bc17e54bfe07bdaa3328c5a7543bd4b2ab3.zip |
Merge pull request #15496 from nextcloud/refactor/oc-requesttoken-bundle
Move OC.requestToken to the bundle, deprecate oc_requesttoken
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. |