Fixed activity type for "denied" organisations
This commit is contained in:
@@ -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,
|
||||||
]);
|
]);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user