From b609fc600189fb2e26259d6b459db5f23b819d67 Mon Sep 17 00:00:00 2001 From: soufiane Date: Mon, 12 Feb 2024 18:19:16 +0100 Subject: [PATCH] wip #6717 @0:30 --- app/Console/Commands/FluidbookSettingsExport.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Console/Commands/FluidbookSettingsExport.php b/app/Console/Commands/FluidbookSettingsExport.php index 65b7aed8f..ab126bce4 100644 --- a/app/Console/Commands/FluidbookSettingsExport.php +++ b/app/Console/Commands/FluidbookSettingsExport.php @@ -47,7 +47,6 @@ class FluidbookSettingsExport extends ToolboxCommand $keys = array_keys(array_merge(...$settings)); - $excel = new Spreadsheet(); $excel->getDefaultStyle() ->getNumberFormat() @@ -98,11 +97,12 @@ class FluidbookSettingsExport extends ToolboxCommand $writer->save($tmpfile); $url = route('download_settings', ['file' => base64_encode($tmpfile)]); - $notification = 'Cliquez sur ce lien pour télécharger l\'export des paramètres :'; + $subject = "Export groupé des paramètres des fluidbooks prêt au téléchargement"; + $notification = ''; $action = [ 'Télécharger' => $url, ]; - $user->notify(new ToolboxNotification("test", $notification, $action, true)); + $user->notify(new ToolboxNotification($subject, $notification, $action, true)); } } -- 2.39.5