Gitlab CSE Unil

Commit a4da6870 authored by M. Chardon's avatar M. Chardon
Browse files

mantis 263

parent c7ba9644
......@@ -69,6 +69,10 @@ class audio {
* @return boolean true if file is saved
public static function saveRecord($objectid, $fileRecord, $filename, $contextid, $filearea) {
if (!is_object($fileRecord)) {
return false;
$fs = get_file_storage();
//on supprime l'existant
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment