aboutsummaryrefslogtreecommitdiffstats
path: root/lib
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
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')
-rw-r--r--lib/private/ContactsManager.php18
-rw-r--r--lib/public/Contacts/IManager.php9
-rw-r--r--lib/public/Util.php21
3 files changed, 0 insertions, 48 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[]
diff --git a/lib/public/Contacts/IManager.php b/lib/public/Contacts/IManager.php
index 65be12c4c39..ce50f8d5b32 100644
--- a/lib/public/Contacts/IManager.php
+++ b/lib/public/Contacts/IManager.php
@@ -160,15 +160,6 @@ interface IManager {
public function register(\Closure $callable);
/**
- * Return a list of the user's addressbooks display names
- *
- * @return array
- * @since 6.0.0
- * @deprecated 16.0.0 - Use `$this->getUserAddressBooks()` instead
- */
- public function getAddressBooks();
-
- /**
* Return a list of the user's addressbooks
*
* @return \OCP\IAddressBook[]
diff --git a/lib/public/Util.php b/lib/public/Util.php
index 6cd3eaa7f85..1289f8ccff4 100644
--- a/lib/public/Util.php
+++ b/lib/public/Util.php
@@ -56,27 +56,6 @@ use bantu\IniGetWrapper\IniGetWrapper;
* @since 4.0.0
*/
class Util {
- /**
- * @deprecated 14.0.0 use \OCP\ILogger::DEBUG
- */
- public const DEBUG = 0;
- /**
- * @deprecated 14.0.0 use \OCP\ILogger::INFO
- */
- public const INFO = 1;
- /**
- * @deprecated 14.0.0 use \OCP\ILogger::WARN
- */
- public const WARN = 2;
- /**
- * @deprecated 14.0.0 use \OCP\ILogger::ERROR
- */
- public const ERROR = 3;
- /**
- * @deprecated 14.0.0 use \OCP\ILogger::FATAL
- */
- public const FATAL = 4;
-
/** @var \OCP\Share\IManager */
private static $shareManager;