diff options
Diffstat (limited to 'apps/user_ldap/lib/Mapping/GroupMapping.php')
-rw-r--r-- | apps/user_ldap/lib/Mapping/GroupMapping.php | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/apps/user_ldap/lib/Mapping/GroupMapping.php b/apps/user_ldap/lib/Mapping/GroupMapping.php new file mode 100644 index 00000000000..d9ae5e749fc --- /dev/null +++ b/apps/user_ldap/lib/Mapping/GroupMapping.php @@ -0,0 +1,24 @@ +<?php + +/** + * SPDX-FileCopyrightText: 2019-2024 Nextcloud GmbH and Nextcloud contributors + * SPDX-FileCopyrightText: 2016 ownCloud, Inc. + * SPDX-License-Identifier: AGPL-3.0-only + */ +namespace OCA\User_LDAP\Mapping; + +/** + * Class UserMapping + * @package OCA\User_LDAP\Mapping + */ +class GroupMapping extends AbstractMapping { + + /** + * returns the DB table name which holds the mappings + * @return string + */ + protected function getTableName(bool $includePrefix = true) { + $p = $includePrefix ? '*PREFIX*' : ''; + return $p . 'ldap_group_mapping'; + } +} |