MDL-35376 - Shortcut/alias not working for Private file repo

This commit is contained in:
Rex Lorenzo
2012-09-11 14:24:02 -07:00
parent 7413ce9896
commit 102d0bd05b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -832,7 +832,7 @@ function file_save_draft_area_files($draftitemid, $contextid, $component, $filea
if ($oldfile->get_contenthash() != $newfile->get_contenthash() || $oldfile->get_filesize() != $newfile->get_filesize()) {
$oldfile->replace_content_with($newfile);
// push changes to all local files that are referencing this file
$fs->update_references_to_storedfile($this);
$fs->update_references_to_storedfile($oldfile);
}
// unchanged file or directory - we keep it as is