"MDL-13766, removed debug code"
authorDongsheng Cai <unoter@gmail.com>
Mon, 15 Mar 2010 06:42:55 +0000 (06:42 +0000)
committerDongsheng Cai <unoter@gmail.com>
Mon, 15 Mar 2010 06:42:55 +0000 (06:42 +0000)
repository/lib.php

index 9ee4c53..684f093 100644 (file)
@@ -837,13 +837,11 @@ abstract class repository {
             $existingfile->delete();
         }
         if ($file = $fs->create_file_from_pathname($entry, $thefile)) {
-            echo_fb($file);
             if (empty($CFG->repository_no_delete)) {
                 $delete = unlink($thefile);
                 unset($CFG->repository_no_delete);
             }
             $fileinfo = $browser->get_file_info($context, $file->get_filearea(), $file->get_itemid(), $file->get_filepath(), $file->get_filename());
-            echo_fb($fileinfo);
             if(!empty($fileinfo)) {
                 return array(
                     'url'=>$fileinfo->get_url(),