|
@@ 567-570 (lines=4) @@
|
| 564 |
|
} |
| 565 |
|
|
| 566 |
|
// Deletes the tentative relationship between mission and applicant. |
| 567 |
|
if(check_entity_relationship($entity->guid, 'mission_tentative', $user_entity->guid)) { |
| 568 |
|
$message_return = 'missions:declination_has_been_sent'; |
| 569 |
|
remove_entity_relationship($entity->guid, 'mission_tentative', $user_entity->guid); |
| 570 |
|
} |
| 571 |
|
if(check_entity_relationship($entity->guid, 'mission_applied', $user_entity->guid)) { |
| 572 |
|
$message_return = 'missions:withdrawal_has_been_sent'; |
| 573 |
|
remove_entity_relationship($entity->guid, 'mission_applied', $user_entity->guid); |
|
@@ 575-578 (lines=4) @@
|
| 572 |
|
$message_return = 'missions:withdrawal_has_been_sent'; |
| 573 |
|
remove_entity_relationship($entity->guid, 'mission_applied', $user_entity->guid); |
| 574 |
|
} |
| 575 |
|
if(check_entity_relationship($entity->guid, 'mission_offered', $user_entity->guid)) { |
| 576 |
|
$message_return = 'missions:declination_has_been_sent'; |
| 577 |
|
remove_entity_relationship($entity->guid, 'mission_offered', $user_entity->guid); |
| 578 |
|
} |
| 579 |
|
if(check_entity_relationship($entity->guid, 'mission_accepted', $user_entity->guid)) { |
| 580 |
|
$message_return = 'missions:withdrawal_has_been_sent'; |
| 581 |
|
remove_entity_relationship($entity->guid, 'mission_accepted', $user_entity->guid); |