Merge branch '104525314-domain-object-states' into staging to apply bug fixes

This commit is contained in:
Matt Farnsworth 2015-11-05 13:12:08 +02:00
commit d72b3518b2
4 changed files with 5 additions and 9 deletions

View file

@ -401,7 +401,7 @@ class Domain < ActiveRecord::Base
def clean_pendings!
preclean_pendings
self.pending_json = {}
statuses.delete[DomainStatus::PENDING_DELETE_CONFIRMATION]
statuses.delete(DomainStatus::PENDING_DELETE_CONFIRMATION)
statuses.delete(DomainStatus::PENDING_UPDATE)
statuses.delete(DomainStatus::PENDING_DELETE)
status_notes[DomainStatus::PENDING_UPDATE] = ''