wizardDetectorUserCount.js 545 B

123456789101112131415161718192021222324
  1. /**
  2. * SPDX-FileCopyrightText: 2015 ownCloud, Inc.
  3. * SPDX-License-Identifier: AGPL-3.0-or-later
  4. */
  5. OCA = OCA || {};
  6. (function() {
  7. /**
  8. * @classdesc let's the wizard backend count the available users
  9. *
  10. * @constructor
  11. */
  12. var WizardDetectorUserCount = OCA.LDAP.Wizard.WizardDetectorFilterSimpleRequestAbstract.subClass({
  13. init: function() {
  14. this.setTargetKey('ldap_user_count');
  15. this.wizardMethod = 'countUsers';
  16. this.runsOnRequest = true;
  17. }
  18. });
  19. OCA.LDAP.Wizard.WizardDetectorUserCount = WizardDetectorUserCount;
  20. })();