summaryrefslogtreecommitdiffstats
path: root/settings/js/users.js
diff options
context:
space:
mode:
authorGeorg Ehrke <dev@georgswebsite.de>2012-11-28 17:57:31 +0100
committerGeorg Ehrke <dev@georgswebsite.de>2012-11-28 18:15:40 +0100
commitab1370277036b337040ce180614f967295ad287a (patch)
tree2765de60985d40877e84ce98845c4d2b362f262c /settings/js/users.js
parenteaa625c9bc426dcba0427457777a79a3944628a5 (diff)
downloadnextcloud-server-ab1370277036b337040ce180614f967295ad287a.tar.gz
nextcloud-server-ab1370277036b337040ce180614f967295ad287a.zip
make some checks server-side
Diffstat (limited to 'settings/js/users.js')
-rw-r--r--settings/js/users.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/settings/js/users.js b/settings/js/users.js
index 517984f9247..af83e0321a5 100644
--- a/settings/js/users.js
+++ b/settings/js/users.js
@@ -165,9 +165,6 @@ var UserList={
}
if(user){
var checkHandeler=function(group){
- if(user==OC.currentUser && group=='admin'){
- return false;
- }
if(!isadmin && checked.length == 1 && checked[0] == group){
return false;
}