diff options
Diffstat (limited to 'server/models/video/video.ts')
-rw-r--r-- | server/models/video/video.ts | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/server/models/video/video.ts b/server/models/video/video.ts index 5808f3936..a6c4620b2 100644 --- a/server/models/video/video.ts +++ b/server/models/video/video.ts | |||
@@ -607,8 +607,6 @@ export class VideoModel extends Model<VideoModel> { | |||
607 | }) as VideoChannelModel | 607 | }) as VideoChannelModel |
608 | } | 608 | } |
609 | 609 | ||
610 | logger.debug('Sending delete of video %s.', instance.url) | ||
611 | |||
612 | return sendDeleteVideo(instance, options.transaction) | 610 | return sendDeleteVideo(instance, options.transaction) |
613 | } | 611 | } |
614 | 612 | ||
@@ -619,7 +617,7 @@ export class VideoModel extends Model<VideoModel> { | |||
619 | static async removeFiles (instance: VideoModel) { | 617 | static async removeFiles (instance: VideoModel) { |
620 | const tasks: Promise<any>[] = [] | 618 | const tasks: Promise<any>[] = [] |
621 | 619 | ||
622 | logger.debug('Removing files of video %s.', instance.url) | 620 | logger.info('Removing files of video %s.', instance.url) |
623 | 621 | ||
624 | tasks.push(instance.removeThumbnail()) | 622 | tasks.push(instance.removeThumbnail()) |
625 | 623 | ||