aboutsummaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/lib/Mapping/GroupMapping.php
blob: d9ae5e749fc7d8602094b13e5a873d5658943d09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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';
	}
}