original_string: protected function delete_step($stepid) {
          require_sesskey();
  
          $step = step::instance($stepid);
          $tour = $step->get_tour();
  
          $step->remove();
          redirect($tour->get_view_link());
      }
code: protected function delete_step($stepid) {
          require_sesskey();
  
          $step = step::instance($stepid);
          $tour = $step->get_tour();
  
          $step->remove();
          redirect($tour->get_view_link());
      }
code_tokens: protected function delete_step ( $ stepid ) { require_sesskey ( ) ; $ step = step :: instance ( $ stepid ) ; $ tour = $ step -> get_tour ( ) ; $ step -> remove ( ) ; redirect ( $ tour -> get_view_link ( ) ) ; }
docstring: Delete the step.
  
  @param   int         $stepid     The ID of the step to remove.
docstring_tokens: Delete the step .