wizardDetectorUserCount.js 630 B

1234567891011121314151617181920212223242526
  1. /**
  2. * Copyright (c) 2015, Arthur Schiwon <blizzz@owncloud.com>
  3. * This file is licensed under the Affero General Public License version 3 or later.
  4. * See the COPYING-README file.
  5. */
  6. OCA = OCA || {};
  7. (function() {
  8. /**
  9. * @classdesc let's the wizard backend count the available users
  10. *
  11. * @constructor
  12. */
  13. var WizardDetectorUserCount = OCA.LDAP.Wizard.WizardDetectorFilterSimpleRequestAbstract.subClass({
  14. init: function() {
  15. this.setTargetKey('ldap_user_count');
  16. this.wizardMethod = 'countUsers';
  17. this.runsOnRequest = true;
  18. }
  19. });
  20. OCA.LDAP.Wizard.WizardDetectorUserCount = WizardDetectorUserCount;
  21. })();