original_string: public static function backup_includes_files($backupid) {
          // This function is called repeatedly in a backup with many files.
          // Loading the controller is a nontrivial operation (in a large test
          // backup it took 0.3 seconds), so we do a temporary cache of it within
          // this request.
          if (self::$includesfilescachebackupid === $backupid) {
              return self::$includesfilescache;
          }
  
          // Load controller, get value, then destroy controller and return result.
          self::$includesfilescachebackupid = $backupid;
          $bc = self::load_controller($backupid);
          self::$includesfilescache = $bc->get_include_files();
          $bc->destroy();
          return self::$includesfilescache;
      }
code: public static function backup_includes_files($backupid) {
          // This function is called repeatedly in a backup with many files.
          // Loading the controller is a nontrivial operation (in a large test
          // backup it took 0.3 seconds), so we do a temporary cache of it within
          // this request.
          if (self::$includesfilescachebackupid === $backupid) {
              return self::$includesfilescache;
          }
  
          // Load controller, get value, then destroy controller and return result.
          self::$includesfilescachebackupid = $backupid;
          $bc = self::load_controller($backupid);
          self::$includesfilescache = $bc->get_include_files();
          $bc->destroy();
          return self::$includesfilescache;
      }
code_tokens: public static function backup_includes_files ( $ backupid ) { // This function is called repeatedly in a backup with many files. // Loading the controller is a nontrivial operation (in a large test // backup it took 0.3 seconds), so we do a temporary cache of it within // this request. if ( self :: $ includesfilescachebackupid === $ backupid ) { return self :: $ includesfilescache ; } // Load controller, get value, then destroy controller and return result. self :: $ includesfilescachebackupid = $ backupid ; $ bc = self :: load_controller ( $ backupid ) ; self :: $ includesfilescache = $ bc -> get_include_files ( ) ; $ bc -> destroy ( ) ; return self :: $ includesfilescache ; }
docstring: Given the backupid, determine whether this backup should include
  files from the moodle file storage system.
  
  @param string $backupid The ID of the backup.
  @return int Indicates whether files should be included in backups.
docstring_tokens: Given the backupid determine whether this backup should include files from the moodle file storage system .