original_string: public function process_auto_save($timestamp) {
          global $DB;
  
          $transaction = $DB->start_delegated_transaction();
  
          $this->quba->process_all_autosaves($timestamp);
          question_engine::save_questions_usage_by_activity($this->quba);
  
          $transaction->allow_commit();
      }
code: public function process_auto_save($timestamp) {
          global $DB;
  
          $transaction = $DB->start_delegated_transaction();
  
          $this->quba->process_all_autosaves($timestamp);
          question_engine::save_questions_usage_by_activity($this->quba);
  
          $transaction->allow_commit();
      }
code_tokens: public function process_auto_save ( $ timestamp ) { global $ DB ; $ transaction = $ DB -> start_delegated_transaction ( ) ; $ this -> quba -> process_all_autosaves ( $ timestamp ) ; question_engine :: save_questions_usage_by_activity ( $ this -> quba ) ; $ transaction -> allow_commit ( ) ; }
docstring: Process all the autosaved data that was part of the current request.
  
  @param int $timestamp the timestamp that should be stored as the modifed
  time in the database for these actions. If null, will use the current time.
docstring_tokens: Process all the autosaved data that was part of the current request .