/**
  * After canceling delete request, do nothing
  */
 public function cancel(Progress $wp)
 {
     $ui = UserInfo::getByID($this->getRequestedUserID());
     $wpr = parent::cancel($wp);
     $wpr->message = t("User deletion request has been cancelled.");
     return $wpr;
 }
 /**
  * after caneling activate(register activate) request, do nothing
  *
  * @return object
  */
 public function cancel(WorkflowProgress $wp)
 {
     $wpr = parent::cancel($wp);
     if ($this->isDeactivationRequest()) {
         $wpr->message = t("User deactivation request has been cancelled.");
     } else {
         $wpr->message = t("User activation request has been cancelled.");
     }
     return $wpr;
 }