summaryrefslogtreecommitdiffstats
path: root/apps/dav
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2021-05-07 11:57:31 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2021-05-07 11:57:31 +0200
commit08a4b249266275f54c76a3c7548b85bef8af108f (patch)
treec3bf66afdd5845655be64798015a42b4f6d8dcc3 /apps/dav
parentdf685b4b594a006e983c9cd41498d60ded254776 (diff)
downloadnextcloud-server-08a4b249266275f54c76a3c7548b85bef8af108f.tar.gz
nextcloud-server-08a4b249266275f54c76a3c7548b85bef8af108f.zip
Drop the unused second parameter on \OCA\DAV\CalDAV\CalDavBackend::getShares
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'apps/dav')
-rw-r--r--apps/dav/lib/CalDAV/CalDavBackend.php3
1 files changed, 1 insertions, 2 deletions
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);
}