summaryrefslogtreecommitdiffstats
path: root/core/js/tests
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2019-05-03 09:07:31 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2019-05-03 15:49:49 +0200
commitd68be1ae4dd1abbd64c8075ca495d55dc1f491db (patch)
tree49bb52498acb8940f1fd6d10af22eb1f9b9ede57 /core/js/tests
parenta7a35d32fd04d7bdc27261a1fa4a51c91c0b2cab (diff)
downloadnextcloud-server-d68be1ae4dd1abbd64c8075ca495d55dc1f491db.tar.gz
nextcloud-server-d68be1ae4dd1abbd64c8075ca495d55dc1f491db.zip
Deprecate oc_isadmin and move OC.isUserAdmin() to the bundle
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'core/js/tests')
-rw-r--r--core/js/tests/specHelper.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/js/tests/specHelper.js b/core/js/tests/specHelper.js
index 04272161c8b..83a469dc1b6 100644
--- a/core/js/tests/specHelper.js
+++ b/core/js/tests/specHelper.js
@@ -86,7 +86,6 @@ window.firstDay = 0;
// setup dummy webroots
/* jshint camelcase: false */
window.oc_debug = true;
-window.oc_isadmin = false;
// FIXME: oc_webroot is supposed to be only the path!!!
window.oc_webroot = location.href + '/';
window.oc_appswebroots = {