summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorCôme Chilliet <91878298+come-nc@users.noreply.github.com>2022-10-01 17:55:31 +0200
committerGitHub <noreply@github.com>2022-10-01 17:55:31 +0200
commita4c2aeef4523b1fa1c43f3a92846b7b9e8abd468 (patch)
tree4c24676ae19e96592e73403f29c73ca717fad089 /lib
parentf317025ed08397167cfddf5ba466f71ed7ed5874 (diff)
parent4123eeeaa3bbd3ecf7d78c42907d4bce024aaae8 (diff)
downloadnextcloud-server-a4c2aeef4523b1fa1c43f3a92846b7b9e8abd468.tar.gz
nextcloud-server-a4c2aeef4523b1fa1c43f3a92846b7b9e8abd468.zip
Merge pull request #34329 from nextcloud/fix/cleanup-long-time-deprecated-stuff
Remove some constants and functions which have been long deprecated
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;