diff options
author | Georg Ehrke <developer@georgehrke.com> | 2019-03-04 00:36:52 +0100 |
---|---|---|
committer | Georg Ehrke <developer@georgehrke.com> | 2019-03-04 00:36:52 +0100 |
commit | 12d3f246aa91e8bd32011094705b70abce1563bf (patch) | |
tree | 1cad8a7f22d6ac7224a25260fe32019486f8738a /apps/dav/lib/Connector | |
parent | dc26d94014b1d4e3d99c1789ee423b5d0cae12bf (diff) | |
download | nextcloud-server-12d3f246aa91e8bd32011094705b70abce1563bf.tar.gz nextcloud-server-12d3f246aa91e8bd32011094705b70abce1563bf.zip |
use class_exists on correct class to please phan
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
Diffstat (limited to 'apps/dav/lib/Connector')
-rw-r--r-- | apps/dav/lib/Connector/Sabre/Principal.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/dav/lib/Connector/Sabre/Principal.php b/apps/dav/lib/Connector/Sabre/Principal.php index af55b8bedb9..57bc189a9f5 100644 --- a/apps/dav/lib/Connector/Sabre/Principal.php +++ b/apps/dav/lib/Connector/Sabre/Principal.php @@ -402,7 +402,7 @@ class Principal implements BackendInterface { * @return array|null */ protected function circleToPrincipal($circleUniqueId) { - if (!\OC::$server->getAppManager()->isEnabledForUser('circles') || !class_exists('\OCA\Circles\ShareByCircleProvider')) { + if (!\OC::$server->getAppManager()->isEnabledForUser('circles') || !class_exists('\OCA\Circles\Api\v1\Circles')) { return null; } @@ -435,7 +435,7 @@ class Principal implements BackendInterface { * @throws Exception */ public function getCircleMembership($principal):array { - if (!\OC::$server->getAppManager()->isEnabledForUser('circles') || !class_exists('\OCA\Circles\ShareByCircleProvider')) { + if (!\OC::$server->getAppManager()->isEnabledForUser('circles') || !class_exists('\OCA\Circles\Api\v1\Circles')) { return []; } |