File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed
apps/dav/lib/Connector/Sabre Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -178,11 +178,7 @@ public function getPrincipalByPath($path) {
178178 return $ this ->userToPrincipal ($ user );
179179 }
180180 } elseif ($ prefix === 'principals/circles ' ) {
181- try {
182- return $ this ->circleToPrincipal ($ name );
183- } catch (QueryException $ e ) {
184- return null ;
185- }
181+ return $ this ->circleToPrincipal ($ name );
186182 }
187183 return null ;
188184 }
@@ -471,9 +467,6 @@ public function getPrincipalPrefix() {
471467 /**
472468 * @param string $circleUniqueId
473469 * @return array|null
474- * @throws \OCP\AppFramework\QueryException
475- * @suppress PhanUndeclaredClassMethod
476- * @suppress PhanUndeclaredClassCatch
477470 */
478471 protected function circleToPrincipal ($ circleUniqueId ) {
479472 if (!$ this ->appManager ->isEnabledForUser ('circles ' ) || !class_exists ('\OCA\Circles\Api\v1\Circles ' )) {
You can’t perform that action at this time.
0 commit comments