Commit e39f066b authored by Martyn Smith's avatar Martyn Smith Committed by Martyn Smith
Browse files
parents 80fb08f9 c7952064
......@@ -720,6 +720,14 @@ class ArtefactTypeImage extends ArtefactTypeFile {
return is_image_mime_type($type);
public function delete() {
if (empty($this->id)) {
delete_records('artefact_file_image', 'artefact', $this->id);
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