Skip to content

Commit

Permalink
Merge pull request #18 from MEITREX/revert-16-MediaRecordDeletedEvent
Browse files Browse the repository at this point in the history
Revert "Add MediaRecordDeletedEvent"
  • Loading branch information
myluki2000 authored Aug 6, 2024
2 parents a5d8281 + 49eed61 commit 74dc2c2
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ public enum DaprTopic {

MEDIA_RECORD_FILE_CREATED("media-record-file-created"),

MEDIA_RECORD_DELETED("media-record-deleted"),

ITEM_CHANGED("item-changed");

private final String topic;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,12 +114,4 @@ public void notifyUserProgressUpdated(final UserProgressUpdatedEvent userProgres
public void notifyMediaRecordFileCreated(final MediaRecordFileCreatedEvent mediaRecordFileCreatedEvent) {
publishEvent(mediaRecordFileCreatedEvent, DaprTopic.MEDIA_RECORD_FILE_CREATED);
}

/**
* Method to notify when a media record has been deleted.
* @param mediaRecordDeletedEvent of the deleted media record
*/
public void notifyMediaRecordDeleted(final MediaRecordDeletedEvent mediaRecordDeletedEvent) {
publishEvent(mediaRecordDeletedEvent, DaprTopic.MEDIA_RECORD_DELETED);
}
}

This file was deleted.

0 comments on commit 74dc2c2

Please sign in to comment.