From d68be1ae4dd1abbd64c8075ca495d55dc1f491db Mon Sep 17 00:00:00 2001 From: Christoph Wurst <christoph@winzerhof-wurst.at> Date: Fri, 3 May 2019 09:07:31 +0200 Subject: Deprecate oc_isadmin and move OC.isUserAdmin() to the bundle Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> --- core/js/tests/specHelper.js | 1 - 1 file changed, 1 deletion(-) (limited to 'core/js/tests') 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 = { -- cgit v1.2.3