original_string: protected function obfuscate_filepath($filepath) {
          global $CFG;
  
          if (strpos($filepath, $CFG->dataroot.'/') === 0 or strpos($filepath, $CFG->dataroot.'\\') === 0) {
              $disclosefile = '$CFG->dataroot'.substr($filepath, strlen($CFG->dataroot));
  
          } else if (strpos($filepath, $CFG->dirroot.'/') === 0 or strpos($filepath, $CFG->dirroot.'\\') === 0) {
              $disclosefile = '$CFG->dirroot'.substr($filepath, strlen($CFG->dirroot));
  
          } else {
              $disclosefile = basename($filepath);
          }
  
          return $disclosefile;
      }
code: protected function obfuscate_filepath($filepath) {
          global $CFG;
  
          if (strpos($filepath, $CFG->dataroot.'/') === 0 or strpos($filepath, $CFG->dataroot.'\\') === 0) {
              $disclosefile = '$CFG->dataroot'.substr($filepath, strlen($CFG->dataroot));
  
          } else if (strpos($filepath, $CFG->dirroot.'/') === 0 or strpos($filepath, $CFG->dirroot.'\\') === 0) {
              $disclosefile = '$CFG->dirroot'.substr($filepath, strlen($CFG->dirroot));
  
          } else {
              $disclosefile = basename($filepath);
          }
  
          return $disclosefile;
      }
code_tokens: protected function obfuscate_filepath ( $ filepath ) { global $ CFG ; if ( strpos ( $ filepath , $ CFG -> dataroot . '/' ) === 0 or strpos ( $ filepath , $ CFG -> dataroot . '\\' ) === 0 ) { $ disclosefile = '$CFG->dataroot' . substr ( $ filepath , strlen ( $ CFG -> dataroot ) ) ; } else if ( strpos ( $ filepath , $ CFG -> dirroot . '/' ) === 0 or strpos ( $ filepath , $ CFG -> dirroot . '\\' ) === 0 ) { $ disclosefile = '$CFG->dirroot' . substr ( $ filepath , strlen ( $ CFG -> dirroot ) ) ; } else { $ disclosefile = basename ( $ filepath ) ; } return $ disclosefile ; }
docstring: Sorry, we do not want to show paths in cron output.
  
  @param string $filepath
  @return string
docstring_tokens: Sorry we do not want to show paths in cron output .