Compare commits

..

3 Commits

Author SHA1 Message Date
ade02f4736
RVRNEXT-39 add endpoint for community delete
All checks were successful
rvr-nextgen/pipeline/pr-master This commit looks good
2023-06-16 21:38:27 +02:00
bb5b510315
RVRNEXT-39 add delete button for communities 2023-06-16 21:38:27 +02:00
1267cb3d95
RVRNEXT-39 implement community delete 2023-06-16 21:38:26 +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;