wizardDetectorGroupCount.js 698 B

123456789101112131415161718192021222324252627
  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 a Port Detector. It executes the auto-detection of the port
  10. * by the Nextcloud server, if requirements are met.
  11. *
  12. * @constructor
  13. */
  14. var WizardDetectorGroupCount = OCA.LDAP.Wizard.WizardDetectorFilterSimpleRequestAbstract.subClass({
  15. init: function() {
  16. this.setTargetKey('ldap_group_count');
  17. this.wizardMethod = 'countGroups';
  18. this.runsOnRequest = true;
  19. }
  20. });
  21. OCA.LDAP.Wizard.WizardDetectorGroupCount = WizardDetectorGroupCount;
  22. })();