/**
  * Execute the action
  */
 public function execute()
 {
     parent::execute();
     // current status
     $from = \SpoonFilter::getGetValue('from', array('subscribed', 'moderation'), 'subscribed');
     // action to execute
     $action = \SpoonFilter::getGetValue('action', array('subscribed', 'moderation', 'delete'), 'moderation');
     // no id's provided
     if (!isset($_GET['id'])) {
         $this->redirect(BackendModel::createURLForAction('subscriptions') . '&error=no-subscriptions-selected');
     }
     // redefine id's
     $ids = (array) $_GET['id'];
     // delete comment(s)
     if ($action == 'delete') {
         BackendAgendaModel::deleteSubscriptions($ids);
     } else {
         // set new status
         BackendAgendaModel::updateSubscriptionStatuses($ids, $action);
     }
     // define report
     $report = count($ids) > 1 ? 'subscriptions-' : 'subscription-';
     // init var
     if ($action == 'subscribed') {
         $report .= 'moved-subscribed';
     }
     if ($action == 'moderation') {
         $report .= 'moved-moderation';
     }
     if ($action == 'delete') {
         $report .= 'deleted';
     }
     // redirect
     $this->redirect(BackendModel::createURLForAction('subscriptions') . '&report=' . $report . '#tab' . \SpoonFilter::ucfirst($from));
 }