mirror of
https://github.com/google/nomulus.git
synced 2025-05-13 07:57:13 +02:00
Remove LINKED from the disallowed statuses for contact/host delete
LINKED is supposed to be a virtual status that gets added/removed when needed. It's mistakenly been persisted to datastore on many resources, but the persisted value is meaningless and may not represent reality at all. There is no reason to check for LINKED status before kicking off a delete, since the smoke test and [] will catch all actual linked objects, and the LINKED status can be causing false positives for objects that are no longer LINKED. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=145422457
This commit is contained in:
parent
d16971c34f
commit
15ba52988b
2 changed files with 0 additions and 2 deletions
|
@ -62,7 +62,6 @@ import org.joda.time.DateTime;
|
|||
public final class HostDeleteFlow implements TransactionalFlow {
|
||||
|
||||
private static final ImmutableSet<StatusValue> DISALLOWED_STATUSES = ImmutableSet.of(
|
||||
StatusValue.LINKED,
|
||||
StatusValue.CLIENT_DELETE_PROHIBITED,
|
||||
StatusValue.PENDING_DELETE,
|
||||
StatusValue.SERVER_DELETE_PROHIBITED);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue