-
Bug
-
Resolution: Fixed
-
Critical
-
2.3
-
MOODLE_23_STABLE
-
MOODLE_23_STABLE
-
MDL-33587-delete-alias -
While looking at the code I realized this regression of MDL-33330. In the method stored_file::delete_reference() there is
$DB->delete_records('files_reference', array('id'=>$this->file_record->referencefileid));
|
that can't be done now as there can be other stored files referring to that record. It was valid only in the 1:1 setup. I am pretty sure Petr mentioned this problem before but i did not understand him that time...