original_string: public function discard_autosaved_step() {
          if (!$this->has_autosaved_step()) {
              return;
          }
  
          $autosaved = array_pop($this->steps);
          $this->autosavedstep = null;
          $this->observer->notify_step_deleted($autosaved, $this);
      }
code: public function discard_autosaved_step() {
          if (!$this->has_autosaved_step()) {
              return;
          }
  
          $autosaved = array_pop($this->steps);
          $this->autosavedstep = null;
          $this->observer->notify_step_deleted($autosaved, $this);
      }
code_tokens: public function discard_autosaved_step ( ) { if ( ! $ this -> has_autosaved_step ( ) ) { return ; } $ autosaved = array_pop ( $ this -> steps ) ; $ this -> autosavedstep = null ; $ this -> observer -> notify_step_deleted ( $ autosaved , $ this ) ; }
docstring: Discard any auto-saved data belonging to this question attempt.
docstring_tokens: Discard any auto - saved data belonging to this question attempt .