original_string: protected function need_restore_numsections() {
          $backupinfo = $this->step->get_task()->get_info();
          $backuprelease = $backupinfo->backup_release;
          return version_compare($backuprelease, '3.3', 'lt');
      }
code: protected function need_restore_numsections() {
          $backupinfo = $this->step->get_task()->get_info();
          $backuprelease = $backupinfo->backup_release;
          return version_compare($backuprelease, '3.3', 'lt');
      }
code_tokens: protected function need_restore_numsections ( ) { $ backupinfo = $ this -> step -> get_task ( ) -> get_info ( ) ; $ backuprelease = $ backupinfo -> backup_release ; return version_compare ( $ backuprelease , '3.3' , 'lt' ) ; }
docstring: Checks if backup file was made on Moodle before 3.3 and we should respect the 'numsections'
  and potential "orphaned" sections in the end of the course.
  
  @return bool
docstring_tokens: Checks if backup file was made on Moodle before 3 . 3 and we should respect the numsections and potential orphaned sections in the end of the course .