Skip to content
Browse files

shooting out debug code see MDL-13993

  • Loading branch information...
1 parent 948cff6 commit 91b1bf8572ff172c8f747e1d20b95b0a71865c5d diml committed
Showing with 4 additions and 3 deletions.
  1. +4 −3 search/documents/physical_ppt.php
View
7 search/documents/physical_ppt.php
@@ -66,9 +66,10 @@ function get_text_for_indexing_ppt(&$resource){
$indextext = preg_replace('/\x0A/', "\n", $indextext); // some quotes
$indextextprint = implode('<hr/>', $fragments);
- $logppt = fopen("C:/php5/logs/pptlog", "w");
- fwrite($logppt, $indextext);
- fclose($logppt);
+ // debug code
+ // $logppt = fopen("C:/php5/logs/pptlog", "w");
+ // fwrite($logppt, $indextext);
+ // fclose($logppt);
if (!empty($CFG->block_search_limit_index_body)){
$indextext = shorten($text, $CFG->block_search_limit_index_body);

0 comments on commit 91b1bf8

Please sign in to comment.
Something went wrong with that request. Please try again.