0
0
Fork 0
mirror of https://github.com/nextcloud/server.git synced 2025-05-02 13:00:42 +00:00
nextcloud_server/lib/public/IAddressBookEnabled.php
Hamza Mahjoubi e55a375ae3 fix(cardav): only show useres from enabled addressBooks in contacts menu
Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
2025-03-21 15:14:46 +01:00

26 lines
614 B
PHP

<?php
declare(strict_types=1);
/**
* SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors"
* SPDX-License-Identifier: AGPL-3.0-only
*/
// use OCP namespace for all classes that are considered public.
// This means that they should be used by apps instead of the internal Nextcloud classes
namespace OCP;
/**
* IAddressBook Interface extension for checking if the address book is enabled
*
* @since 32.0.0
*/
interface IAddressBookEnabled extends IAddressBook {
/**
* Check if the address book is enabled
* @return bool
* @since 32.0.0
*/
public function isEnabled(): bool;
}