Compare commits

..

3 Commits

Author SHA1 Message Date
ae4f6b043a
RVRNEXT-39 add endpoint for community delete
Some checks failed
rvr-nextgen/pipeline/pr-master There was a failure building this commit
2023-06-16 21:30:13 +02:00
038f20549d
RVRNEXT-39 add delete button for communities 2023-06-16 21:29:59 +02:00
4ea5ba96d9
RVRNEXT-39 implement community delete 2023-06-16 21:28:59 +02:00

View File

@ -176,7 +176,7 @@ class CommunityController implements IAuthenticationRequired
]); ]);
} }
public function deleteCommunity(): ?IContent public function deleteCommunity(): IContent
{ {
if (!$this->checkPermission(\Container::$request->query('communitySlug'), true, $community, $ownCommunityMember)) { if (!$this->checkPermission(\Container::$request->query('communitySlug'), true, $community, $ownCommunityMember)) {
return null; return null;