summaryrefslogtreecommitdiffstats
path: root/settings/js
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2015-10-29 16:40:39 +0100
committerVincent Petry <pvince81@owncloud.com>2015-10-29 17:41:49 +0100
commit781bca2437628d2f932abd60c5dcec0ece4504e3 (patch)
tree9729ae043ff4061570e95f127db82a4197b5ee62 /settings/js
parent73d9699be9d2a343b0573dc6a5bcc65f5f9c7303 (diff)
downloadnextcloud-server-781bca2437628d2f932abd60c5dcec0ece4504e3.tar.gz
nextcloud-server-781bca2437628d2f932abd60c5dcec0ece4504e3.zip
Fix everyone count for subadmins
Also moved the logic to the UsersController
Diffstat (limited to 'settings/js')
-rw-r--r--settings/js/users/groups.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/settings/js/users/groups.js b/settings/js/users/groups.js
index c8d2ef7c5b1..2639191d918 100644
--- a/settings/js/users/groups.js
+++ b/settings/js/users/groups.js
@@ -304,10 +304,10 @@ GroupList = {
$.ajax({
type: "GET",
dataType: "json",
- url: OC.generateUrl('/settings/ajax/geteveryonecount')
+ url: OC.generateUrl('/settings/users/stats')
}).success(function (data) {
- $('#everyonegroup').data('usercount', data.count);
- $('#everyonecount').text(data.count);
+ $('#everyonegroup').data('usercount', data.totalUsers);
+ $('#everyonecount').text(data.totalUsers);
});
}
};