Fixed activity type for "denied" organisations

This commit is contained in:
2025-01-20 16:52:27 +00:00
parent f143ef9732
commit 8cc8448e18

View File

@@ -462,7 +462,7 @@ class OrganisationRegistrationController extends SimpleController
// Record the event in the activity log
$this->ci->userActivityLogger->info("User {$currentUser->user_name} denied the registration request for organisation {$organisation->name}.", [
'type' => 'organisation_approved',
'type' => 'organisation_denied',
'user_id' => $currentUser->id,
]);
});
@@ -552,7 +552,7 @@ class OrganisationRegistrationController extends SimpleController
// Record the event in the activity log
$this->ci->userActivityLogger->info("User {$currentUser->user_name} denied the registration request for organisation {$organisation->name}.", [
'type' => 'organisation_approved',
'type' => 'organisation_denied',
'user_id' => $currentUser->id,
]);
});