mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-31 03:24:34 -04:00
Update self updater (#3647)
This commit is contained in:
parent
820f770ef8
commit
6a846efabe
@ -98,12 +98,30 @@ return [
|
|||||||
| Configure if fired events should be logged
|
| Configure if fired events should be logged
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
'notifications' => [
|
||||||
|
'notifications' => [
|
||||||
|
\Codedge\Updater\Notifications\Notifications\UpdateSucceeded::class => ['mail'],
|
||||||
|
\Codedge\Updater\Notifications\Notifications\UpdateFailed::class => ['mail'],
|
||||||
|
\Codedge\Updater\Notifications\Notifications\UpdateAvailable::class => ['mail'],
|
||||||
|
],
|
||||||
|
|
||||||
'mail_to' => [
|
/*
|
||||||
'address' => env('SELF_UPDATER_MAILTO_ADDRESS', ''),
|
* Here you can specify the notifiable to which the notifications should be sent. The default
|
||||||
'name' => env('SELF_UPDATER_MAILTO_NAME', ''),
|
* notifiable will use the variables specified in this config file.
|
||||||
'subject_update_available' => env('SELF_UPDATER_MAILTO_UPDATE_AVAILABLE_SUBJECT', 'Update available'),
|
*/
|
||||||
'subject_update_succeeded' => env('SELF_UPDATER_MAILTO_UPDATE_SUCCEEDED_SUBJECT', 'Update succeeded'),
|
'notifiable' => \Codedge\Updater\Notifications\Notifiable::class,
|
||||||
|
|
||||||
|
'mail' => [
|
||||||
|
'to' => [
|
||||||
|
'address' => env('SELF_UPDATER_MAILTO_ADDRESS', 'notifications@example.com'),
|
||||||
|
'name' => env('SELF_UPDATER_MAILTO_NAME', ''),
|
||||||
|
],
|
||||||
|
|
||||||
|
'from' => [
|
||||||
|
'address' => env('SELF_UPDATER_MAIL_FROM_ADDRESS', 'updater@example.com'),
|
||||||
|
'name' => env('SELF_UPDATER_MAIL_FROM_NAME', 'Update'),
|
||||||
|
],
|
||||||
|
],
|
||||||
],
|
],
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user