From 08a4b249266275f54c76a3c7548b85bef8af108f Mon Sep 17 00:00:00 2001
From: Christoph Wurst <christoph@winzerhof-wurst.at>
Date: Fri, 7 May 2021 11:57:31 +0200
Subject: Drop the unused second parameter on
 \OCA\DAV\CalDAV\CalDavBackend::getShares

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
---
 apps/dav/lib/CalDAV/CalDavBackend.php | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

(limited to 'apps')

diff --git a/apps/dav/lib/CalDAV/CalDavBackend.php b/apps/dav/lib/CalDAV/CalDavBackend.php
index fb99040dd66..138bb9b4828 100644
--- a/apps/dav/lib/CalDAV/CalDavBackend.php
+++ b/apps/dav/lib/CalDAV/CalDavBackend.php
@@ -2550,10 +2550,9 @@ class CalDavBackend extends AbstractBackend implements SyncSupport, Subscription
 
 	/**
 	 * @param int $resourceId
-	 * @param int $calendarType
 	 * @return array
 	 */
-	public function getShares($resourceId, $calendarType = self::CALENDAR_TYPE_CALENDAR) {
+	public function getShares($resourceId) {
 		return $this->calendarSharingBackend->getShares($resourceId);
 	}
 
-- 
cgit v1.2.3