mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-31 15:24:31 +03:00
Extracted icon helper, aligned container resolution
Also updated breadcrumb view composer to current standards. Closes #4553
This commit is contained in:
@ -197,7 +197,7 @@ class TrashCan
|
||||
$page->allRevisions()->delete();
|
||||
|
||||
// Delete Attached Files
|
||||
$attachmentService = app(AttachmentService::class);
|
||||
$attachmentService = app()->make(AttachmentService::class);
|
||||
foreach ($page->attachments as $attachment) {
|
||||
$attachmentService->deleteFile($attachment);
|
||||
}
|
||||
|
Reference in New Issue
Block a user