original_string: protected function set_include_files() {
          // We normally include files.
          $includefiles = true;
  
          // In an import, we don't need to include files.
          if ($this->get_mode() === backup::MODE_IMPORT) {
              $includefiles = false;
          }
  
          // When a backup is intended for the same site, we don't need to include the files.
          // Note, this setting is only used for duplication of an entire course.
          if ($this->get_mode() === backup::MODE_SAMESITE) {
              $includefiles = false;
          }
  
          $this->includefiles = (int) $includefiles;
          $this->log("setting file inclusion to {$this->includefiles}", backup::LOG_DEBUG);
          return $this->includefiles;
      }
code: protected function set_include_files() {
          // We normally include files.
          $includefiles = true;
  
          // In an import, we don't need to include files.
          if ($this->get_mode() === backup::MODE_IMPORT) {
              $includefiles = false;
          }
  
          // When a backup is intended for the same site, we don't need to include the files.
          // Note, this setting is only used for duplication of an entire course.
          if ($this->get_mode() === backup::MODE_SAMESITE) {
              $includefiles = false;
          }
  
          $this->includefiles = (int) $includefiles;
          $this->log("setting file inclusion to {$this->includefiles}", backup::LOG_DEBUG);
          return $this->includefiles;
      }
code_tokens: protected function set_include_files ( ) { // We normally include files. $ includefiles = true ; // In an import, we don't need to include files. if ( $ this -> get_mode ( ) === backup :: MODE_IMPORT ) { $ includefiles = false ; } // When a backup is intended for the same site, we don't need to include the files. // Note, this setting is only used for duplication of an entire course. if ( $ this -> get_mode ( ) === backup :: MODE_SAMESITE ) { $ includefiles = false ; } $ this -> includefiles = ( int ) $ includefiles ; $ this -> log ( "setting file inclusion to {$this->includefiles}" , backup :: LOG_DEBUG ) ; return $ this -> includefiles ; }
docstring: Set the initial value for the include_files setting.
  
  @see backup_controller::get_include_files for further information on the purpose of this setting.
  @return int Indicates whether files should be included in backups.
docstring_tokens: Set the initial value for the include_files setting .