wizardDetectorClearUserMappings.js 691 B

12345678910111213141516171819202122232425262728
  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 requests clearing of user mappings
  9. *
  10. * @constructor
  11. */
  12. var WizardDetectorClearUserMappings = OCA.LDAP.Wizard.WizardDetectorTestAbstract.subClass({
  13. /** @inheritdoc */
  14. init: function() {
  15. // given, it is not a configuration key
  16. this.setTargetKey('ldap_action_clear_user_mappings');
  17. this.testName = 'ClearMappings';
  18. this.isLegacy = true;
  19. this.legacyDestination = 'clearMappings.php';
  20. this.runsOnRequest = true;
  21. }
  22. });
  23. OCA.LDAP.Wizard.WizardDetectorClearUserMappings = WizardDetectorClearUserMappings;
  24. })();