[upload] separate out DataUpload, ImageAddition, and TagSet/SourceSet/LockSet/etc

This commit is contained in:
Shish
2024-01-05 13:53:21 +00:00
parent aa494efe45
commit af309601f5
23 changed files with 140 additions and 169 deletions

View File

@@ -233,7 +233,7 @@ class TranscodeVideo extends Extension
throw new VideoTranscodeException("Failed to copy new post file from temporary location ({$tmp_filename}) to archive ($target)");
}
send_event(new ImageReplaceEvent($image->id, $new_image));
send_event(new ImageReplaceEvent($image, $new_image));
return $new_image;
} finally {