Story #109086524 - revert to allow merge, changes fixed on branch for story 109367694

This commit is contained in:
Matt Farnsworth 2015-12-14 11:45:54 +02:00
parent 611151317c
commit 674fa9f76b

View file

@ -7,7 +7,6 @@ class Epp::Domain < Domain
before_validation :manage_permissions
def manage_permissions
return if is_admin # this bad hack for 109086524, refactor later
return unless update_prohibited? || delete_prohibited?
add_epp_error('2304', nil, nil, I18n.t(:object_status_prohibits_operation))
false