From 9431f81a0bfca5ad08a3d6c2ea50fc0c7f6e3454 Mon Sep 17 00:00:00 2001 From: nextcloud-command Date: Sun, 29 Mar 2026 03:18:34 +0000 Subject: [PATCH 1/2] chore(dev-deps): Bump nextcloud/ocp package Signed-off-by: GitHub --- composer.lock | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/composer.lock b/composer.lock index 5c93d2bbd..5bf5919b2 100644 --- a/composer.lock +++ b/composer.lock @@ -973,12 +973,12 @@ "source": { "type": "git", "url": "https://github.com/nextcloud-deps/ocp.git", - "reference": "0db5adfe3340fc18431251fbe90a1d480600a837" + "reference": "14169373352be5869ff281c9391487ef8514c97e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nextcloud-deps/ocp/zipball/0db5adfe3340fc18431251fbe90a1d480600a837", - "reference": "0db5adfe3340fc18431251fbe90a1d480600a837", + "url": "https://api.github.com/repos/nextcloud-deps/ocp/zipball/14169373352be5869ff281c9391487ef8514c97e", + "reference": "14169373352be5869ff281c9391487ef8514c97e", "shasum": "" }, "require": { @@ -1009,7 +1009,7 @@ "issues": "https://github.com/nextcloud-deps/ocp/issues", "source": "https://github.com/nextcloud-deps/ocp/tree/stable30" }, - "time": "2026-02-20T01:07:05+00:00" + "time": "2026-03-27T01:17:37+00:00" }, { "name": "nikic/php-parser", From c6b613975edd7a35ca19471b932f770b542917d6 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Tue, 31 Mar 2026 17:06:29 +0200 Subject: [PATCH 2/2] fix: Migrate away from removed IServer::getContactsManager() Signed-off-by: Joas Schilling --- lib/RestrictionManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/RestrictionManager.php b/lib/RestrictionManager.php index e4a68f6d0..fec0bff3f 100644 --- a/lib/RestrictionManager.php +++ b/lib/RestrictionManager.php @@ -71,7 +71,7 @@ public function setupRestrictions(): void { public function lateSetupRestrictions(): void { if ($this->guestManager->isGuest($this->userSession->getUser()) && $this->config->hideOtherUsers()) { - $this->server->getContactsManager()->clear(); + $this->server->get(\OCP\Contacts\IManager::class)->clear(); $this->userBackend->setAllowListing(false); /** @var AppConfigOverwrite $appConfig */ $appConfig = $this->server->get(AppConfigOverwrite::class);