|
@@ 511-514 (lines=4) @@
|
| 508 |
|
} |
| 509 |
|
|
| 510 |
|
// Deletes the tentative relationship between mission and applicant. |
| 511 |
|
if(check_entity_relationship($entity->guid, 'mission_tentative', $user_entity->guid)) { |
| 512 |
|
$message_return = 'missions:declination_has_been_sent'; |
| 513 |
|
remove_entity_relationship($entity->guid, 'mission_tentative', $user_entity->guid); |
| 514 |
|
} |
| 515 |
|
if(check_entity_relationship($entity->guid, 'mission_applied', $user_entity->guid)) { |
| 516 |
|
$message_return = 'missions:withdrawal_has_been_sent'; |
| 517 |
|
remove_entity_relationship($entity->guid, 'mission_applied', $user_entity->guid); |
|
@@ 519-522 (lines=4) @@
|
| 516 |
|
$message_return = 'missions:withdrawal_has_been_sent'; |
| 517 |
|
remove_entity_relationship($entity->guid, 'mission_applied', $user_entity->guid); |
| 518 |
|
} |
| 519 |
|
if(check_entity_relationship($entity->guid, 'mission_offered', $user_entity->guid)) { |
| 520 |
|
$message_return = 'missions:declination_has_been_sent'; |
| 521 |
|
remove_entity_relationship($entity->guid, 'mission_offered', $user_entity->guid); |
| 522 |
|
} |
| 523 |
|
if(check_entity_relationship($entity->guid, 'mission_accepted', $user_entity->guid)) { |
| 524 |
|
$message_return = 'missions:withdrawal_has_been_sent'; |
| 525 |
|
remove_entity_relationship($entity->guid, 'mission_accepted', $user_entity->guid); |