wizardDetectorGroupCount.js 687 B

1234567891011121314151617181920212223242526
  1. /**
  2. * SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
  3. * SPDX-FileCopyrightText: 2015 ownCloud, Inc.
  4. * SPDX-License-Identifier: AGPL-3.0-or-later
  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. })();