1 Commits

Author SHA1 Message Date
8cc8448e18 Fixed activity type for "denied" organisations 2025-01-20 16:52:27 +00:00

View File

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