Story #104525314 - correction, flag not needed on reject'

This commit is contained in:
Matt Farnsworth 2015-11-24 18:14:46 +02:00
parent 107448d919
commit 8a84d16283

View file

@ -17,7 +17,6 @@ class Admin::PendingDeletesController < AdminController
def destroy def destroy
authorize! :destroy, :pending authorize! :destroy, :pending
@epp_domain.is_admin= true
if @domain.clean_pendings! if @domain.clean_pendings!
redirect_to admin_domain_path(@domain.id), notice: t(:pending_removed) redirect_to admin_domain_path(@domain.id), notice: t(:pending_removed)
else else