summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/CalDAV/Proxy/ProxyMapper.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2019-08-06 13:40:52 +0200
committerGeorg Ehrke <developer@georgehrke.com>2019-08-15 15:41:27 +0200
commit01a4644cad99c8502f15a7f62f72f4e040670024 (patch)
treed6e8d5a5d8fe7ed9560df880ee5ef84afddde9a3 /apps/dav/lib/CalDAV/Proxy/ProxyMapper.php
parent22f29d8e54be32fe44e5d715aa8ae0dbaf558229 (diff)
downloadnextcloud-server-01a4644cad99c8502f15a7f62f72f4e040670024.tar.gz
nextcloud-server-01a4644cad99c8502f15a7f62f72f4e040670024.zip
Use the proxymapper to obtain valid proxy data
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/dav/lib/CalDAV/Proxy/ProxyMapper.php')
-rw-r--r--apps/dav/lib/CalDAV/Proxy/ProxyMapper.php7
1 files changed, 5 insertions, 2 deletions
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();