Show filename for item being scheduled for deletion, remove redundant functions

This commit is contained in:
2024-10-01 11:59:56 +10:00
parent 87ab2729a4
commit 629202c9dd
3 changed files with 1 additions and 113 deletions

View File

@@ -82,7 +82,7 @@ trait Multimedia
switch (strtolower($request->input('type'))) {
case 'photo':
case 'video':
Log::info(sprintf('Dispatching delete for [%s]',$o->id));
Log::info(sprintf('Dispatching delete for [%s] (%s)',$o->id,$o->file_name(FALSE)));
CatalogDelete::dispatch($o)
->onQueue('delete');