]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-15405: removing leftover debugging code
authorscyrma <scyrma>
Thu, 4 Sep 2008 02:07:51 +0000 (02:07 +0000)
committerscyrma <scyrma>
Thu, 4 Sep 2008 02:07:51 +0000 (02:07 +0000)
lib/filelib.php

index 08e6bd4d76a853508450f1e2690a84a5d771b329..cf107b7da0329ae50d84ce8917ef32184db7928a 100644 (file)
@@ -94,7 +94,6 @@ function file_rewrite_urls($text, $contextid, $filepath, $filearea, $itemid, $cu
     foreach($matches as $file) {
         if ($newfiles = $fs->move_draft_to_final($file[1], $contextid, $filearea, $itemid, $filepath, $overwrite)) {
             foreach($newfiles as $newfile) {
-                var_dump($newfile);
                 if ($context->contextlevel == 'CONTEXT_USER') {
                     //TODO: get the good url for userfile.php
                     //$newurl = $CFG->wwwroot .'/userfile.php/'. $contextid .'/'. $filearea .'/'. $itemid;