Story #104525314 - fix typo, wrong braces

This commit is contained in:
Matt Farnsworth 2015-11-04 11:28:55 +02:00
parent bd85e0b33c
commit 2c717d247a

View file

@ -399,7 +399,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] = ''