You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

wizardDetectorTestConfiguration.js 858B

12345678910111213141516171819202122232425262728293031
  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 ownCloud server, if requirements are met.
  11. *
  12. * @constructor
  13. */
  14. var WizardDetectorTestConfiguration = OCA.LDAP.Wizard.WizardDetectorTestAbstract.subClass({
  15. /** @inheritdoc */
  16. init: function() {
  17. // given, it is not a configuration key
  18. this.setTargetKey('ldap_action_test_connection');
  19. this.testName = 'TestConfiguration';
  20. this.isLegacy = true;
  21. this.legacyDestination = 'testConfiguration.php';
  22. this.runsOnRequest = true;
  23. }
  24. });
  25. OCA.LDAP.Wizard.WizardDetectorTestConfiguration = WizardDetectorTestConfiguration;
  26. })();