/** * Execute the action */ public function execute() { parent::execute(); BackendCatalogModel::deleteSpamComments(); // item was deleted, so redirect $this->redirect(BackendModel::createURLForAction('comments') . '&report=deleted-spam#tabSpam'); }