GroupMapping.php 555 B

123456789101112131415161718192021222324
  1. <?php
  2. /**
  3. * SPDX-FileCopyrightText: 2019-2024 Nextcloud GmbH and Nextcloud contributors
  4. * SPDX-FileCopyrightText: 2016 ownCloud, Inc.
  5. * SPDX-License-Identifier: AGPL-3.0-only
  6. */
  7. namespace OCA\User_LDAP\Mapping;
  8. /**
  9. * Class UserMapping
  10. * @package OCA\User_LDAP\Mapping
  11. */
  12. class GroupMapping extends AbstractMapping {
  13. /**
  14. * returns the DB table name which holds the mappings
  15. * @return string
  16. */
  17. protected function getTableName(bool $includePrefix = true) {
  18. $p = $includePrefix ? '*PREFIX*' : '';
  19. return $p . 'ldap_group_mapping';
  20. }
  21. }