From: scyrma Date: Thu, 4 Sep 2008 02:07:51 +0000 (+0000) Subject: MDL-15405: removing leftover debugging code X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=f74e60183ee27988d3e674cc638f53073c5b1794;p=moodle.git MDL-15405: removing leftover debugging code --- diff --git a/lib/filelib.php b/lib/filelib.php index 08e6bd4d76..cf107b7da0 100644 --- a/lib/filelib.php +++ b/lib/filelib.php @@ -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;