diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2024-05-30 17:50:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-30 17:50:10 +0200 |
commit | 22f185473d3102e7d591cf303d113ababc0e1017 (patch) | |
tree | 091675cb3d715ca60a4bfc92fd567e899aa6e499 /lib | |
parent | db60aca6e87fdd670bbe190781365b0c49e5be24 (diff) | |
parent | 3aab6b23271fdbc8263228b599cc6e78af921b2a (diff) | |
download | nextcloud-server-22f185473d3102e7d591cf303d113ababc0e1017.tar.gz nextcloud-server-22f185473d3102e7d591cf303d113ababc0e1017.zip |
Merge pull request #40119 from summersab/refactor/OC-Server-getContactsManager
Diffstat (limited to 'lib')
-rw-r--r-- | lib/public/Contacts/IManager.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public/Contacts/IManager.php b/lib/public/Contacts/IManager.php index 7a80a35e045..f19e72e0763 100644 --- a/lib/public/Contacts/IManager.php +++ b/lib/public/Contacts/IManager.php @@ -35,7 +35,7 @@ interface IManager { * Following function shows how to search for contacts for the name and the email address. * * public static function getMatchingRecipient($term) { - * $cm = \OC::$server->getContactsManager(); + * $cm = \OCP\Server::get(\OCP\Contacts\IManager::class); * // The API is not active -> nothing to do * if (!$cm->isEnabled()) { * return array(); |