summaryrefslogtreecommitdiffstats
path: root/core/js
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2014-02-19 17:56:12 +0100
committerLukas Reschke <lukas@statuscode.ch>2014-02-19 17:56:12 +0100
commit16262e3fd2c00475cc3b43a2684a45cc8ae70829 (patch)
treea069d23617a116d663094f85f6e11942a2628e3c /core/js
parent952584e9c782d196eb2bcd6df1e3ecdf21adcb55 (diff)
downloadnextcloud-server-16262e3fd2c00475cc3b43a2684a45cc8ae70829.tar.gz
nextcloud-server-16262e3fd2c00475cc3b43a2684a45cc8ae70829.zip
Move isadmin to template and rename it to oc_isadmin
Diffstat (limited to 'core/js')
-rw-r--r--core/js/js.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/js/js.js b/core/js/js.js
index d4d2583f1e5..3b3e0e99455 100644
--- a/core/js/js.js
+++ b/core/js/js.js
@@ -10,6 +10,7 @@ var oc_webroot;
var oc_current_user = document.getElementsByTagName('head')[0].getAttribute('data-user');
var oc_requesttoken = document.getElementsByTagName('head')[0].getAttribute('data-requesttoken');
+var oc_isadmin = document.getElementsByTagName('head')[0].getAttribute('data-isAdmin');
window.oc_config = window.oc_config || {};