summaryrefslogtreecommitdiffstats
path: root/lib/private/ContactsManager.php
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2022-09-29 15:15:20 +0200
committerCôme Chilliet (Rebase PR Action) <come-nc@users.noreply.github.com>2022-09-30 13:20:03 +0000
commit5347fb02dca9f55d44392d15e1c1a020d5912240 (patch)
treed0fbea458c297adfc55ab2b8abf539299031b13a /lib/private/ContactsManager.php
parent6c2230c3d90d3cce17912bc86aa523208f5e29ce (diff)
downloadnextcloud-server-5347fb02dca9f55d44392d15e1c1a020d5912240.tar.gz
nextcloud-server-5347fb02dca9f55d44392d15e1c1a020d5912240.zip
Remove some constants and functions which have been long deprecated
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'lib/private/ContactsManager.php')
-rw-r--r--lib/private/ContactsManager.php18
1 files changed, 0 insertions, 18 deletions
diff --git a/lib/private/ContactsManager.php b/lib/private/ContactsManager.php
index 68783e3f79b..9853701a2eb 100644
--- a/lib/private/ContactsManager.php
+++ b/lib/private/ContactsManager.php
@@ -148,24 +148,6 @@ class ContactsManager implements IManager {
}
/**
- * Return a list of the user's addressbooks display names
- * ! The addressBook displayName are not unique, please use getUserAddressBooks
- *
- * @return IAddressBook[]
- * @since 6.0.0
- * @deprecated 16.0.0 - Use `$this->getUserAddressBooks()` instead
- */
- public function getAddressBooks() {
- $this->loadAddressBooks();
- $result = [];
- foreach ($this->addressBooks as $addressBook) {
- $result[$addressBook->getKey()] = $addressBook->getDisplayName();
- }
-
- return $result;
- }
-
- /**
* Return a list of the user's addressbooks
*
* @return IAddressBook[]