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-11-05 12:35:10 +0100
commite5035494a7184e90cb264bc82dfadbd83f00a54d (patch)
tree357e591eb6c083840197aa8591eba72d22403e66 /settings/js
parentc89058bc494384fa8e1c96cc9a8e575281a30ec1 (diff)
downloadnextcloud-server-e5035494a7184e90cb264bc82dfadbd83f00a54d.tar.gz
nextcloud-server-e5035494a7184e90cb264bc82dfadbd83f00a54d.zip
Fix everyone count for subadmins
Also moved the logic to the UsersController Backport of 781bca2437628d2f932abd60c5dcec0ece4504e3 from master, adjusted to use the old SubadminFactory way
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);
});
}
};