Skip to content
Permalink
Browse files

[MDL-15298] Avoid printing a warning if debugging is enabled

  • Loading branch information...
robertall
robertall committed Jun 25, 2008
1 parent 3e7adb6 commit 242b238c2a39ac45b2bc1b3afb83cc5204679615
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/data/preset.php
@@ -498,7 +498,7 @@ function data_presets_export($course, $cm, $data) {
}
$exportfile = "$CFG->dataroot/$course->id/moddata/data/$data->id/$presetname.zip";
unlink($exportfile);
file_exists($exportfile) && unlink($exportfile);
$status = zip_files($filelist, $exportfile);
// ToDo: status check
foreach ($filelist as $file) {

0 comments on commit 242b238

Please sign in to comment.
You can’t perform that action at this time.