From 01a4644cad99c8502f15a7f62f72f4e040670024 Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Tue, 6 Aug 2019 13:40:52 +0200 Subject: Use the proxymapper to obtain valid proxy data Signed-off-by: Roeland Jago Douma --- apps/dav/lib/CalDAV/Proxy/ProxyMapper.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'apps/dav/lib/CalDAV/Proxy/ProxyMapper.php') diff --git a/apps/dav/lib/CalDAV/Proxy/ProxyMapper.php b/apps/dav/lib/CalDAV/Proxy/ProxyMapper.php index d3657b306a9..6a569394c4b 100644 --- a/apps/dav/lib/CalDAV/Proxy/ProxyMapper.php +++ b/apps/dav/lib/CalDAV/Proxy/ProxyMapper.php @@ -22,9 +22,8 @@ declare(strict_types=1); * */ -namespace OCA\DAV\CalDAV; +namespace OCA\DAV\CalDAV\Proxy; -use OCA\DAV\CalDAV\Delegation\Proxy; use OCP\AppFramework\Db\QBMapper; use OCP\IDBConnection; @@ -39,6 +38,8 @@ class ProxyMapper extends QBMapper { /** * @param string $proxyId The userId that can act as a proxy for the resulting calendars + * + * @return Proxy[] */ public function getProxiesFor(string $proxyId): array { $qb = $this->db->getQueryBuilder(); @@ -52,6 +53,8 @@ class ProxyMapper extends QBMapper { /** * @param string $ownerId The userId that has the resulting proxies for their calendars + * + * @return Proxy[] */ public function getProxiesOf(string $ownerId): array { $qb = $this->db->getQueryBuilder(); -- cgit v1.2.3