Skip to content

Commit

Permalink
MDL-15298 fixed unlink with @ - silences debug warning
Browse files Browse the repository at this point in the history
  • Loading branch information
skodak committed Jun 24, 2008
1 parent a0f562e commit 93b4063
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/data/preset.php
Expand Up @@ -498,7 +498,7 @@ function data_presets_export($course, $cm, $data) {
}

$exportfile = "$CFG->dataroot/$course->id/moddata/data/$data->id/$presetname.zip";
unlink($exportfile);
@unlink($exportfile);
$status = zip_files($filelist, $exportfile);
// ToDo: status check
foreach ($filelist as $file) {
Expand Down

0 comments on commit 93b4063

Please sign in to comment.