public function NodeRegistrationNodeSettings::max_cancel_time_passed in Node registration 7
Whether the maximum cancellation time for this event has passed.
File
- includes/node_registration.node_settings.inc, line 248 
- Node settings class.
Class
- NodeRegistrationNodeSettings
- Node settings class.
Code
public function max_cancel_time_passed() {
  if ($event_start = $this
    ->site_utc()) {
    $before = $this->allow_cancellation_until;
    $max_cancel_time = $before ? _node_registration_strtotime($event_start, $before) : FALSE;
    if ($max_cancel_time && $max_cancel_time <= REQUEST_TIME) {
      return TRUE;
    }
  }
}