You are here

public function StateFlow::on_exit_scheduled in State Machine 7.2

File

modules/state_flow/plugins/state_flow.inc, line 100

Class

StateFlow

Code

public function on_exit_scheduled() {
  if (module_exists('state_flow_schedule')) {
    db_query('
        DELETE FROM state_flow_schedule
        WHERE nid = :nid
        AND vid = :vid', array(
      ':nid' => $this->object->nid,
      ':vid' => $this->object->vid,
    ));
  }
}