Skip to content

Commit

Permalink
Merge pull request #1317 from Baraka24/fix-default_setting_text_only-…
Browse files Browse the repository at this point in the history
…to-false

[FIX]DEFAULT_TEXT_ONLY value must be false
  • Loading branch information
marclaporte authored Nov 14, 2024
2 parents 63f84e6 + 78af985 commit a015287
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ DEFAULT_SETTING_IMAP_PER_PAGE=20
DEFAULT_SETTING_SIMPLE_MSG_PARTS=false
DEFAULT_SETTING_PAGINATE_LINKS=true
DEFAULT_SETTING_MSG_PART_ICONS=true
DEFAULT_SETTING_TEXT_ONLY=true
DEFAULT_SETTING_TEXT_ONLY=false
DEFAULT_SETTING_SENT_PER_SOURCE=20
DEFAULT_SETTING_SENT_SINCE='-1 week'
DEFAULT_SETTING_JUNK_PER_SOURCE=20
Expand Down
4 changes: 2 additions & 2 deletions config/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -1023,7 +1023,7 @@
| Prefer text parts when viewing a message
| Defaults to false
*/
'default_setting_text_only' => env('DEFAULT_SETTING_TEXT_ONLY', true),
'default_setting_text_only' => env('DEFAULT_SETTING_TEXT_ONLY', false),

/*
|
Expand All @@ -1038,7 +1038,7 @@
| Defaults to 1 week
*/
'default_setting_sent_since' => env('DEFAULT_SETTING_SENT_SINCE', '-1 week'),

/*
|
| Per source time limit for junk page
Expand Down
2 changes: 1 addition & 1 deletion lib/environment.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public function define_default_constants($config) {
define('DEFAULT_SIMPLE_MSG_PARTS', $config->get('default_setting_simple_msg_parts', false));
define('DEFAULT_MSG_PART_ICONS', $config->get('default_setting_msg_part_icons', true));
define('DEFAULT_PAGINATION_LINKS', $config->get('default_setting_pagination_links', true));
define('DEFAULT_TEXT_ONLY', $config->get('default_setting_text_only', true));
define('DEFAULT_TEXT_ONLY', $config->get('default_setting_text_only', false));
define('DEFAULT_NO_PASSWORD_SAVE', $config->get('default_setting_no_password_save', false));
define('DEFAULT_SHOW_LIST_ICONS', $config->get('default_setting_show_list_icons', true));
define('DEFAULT_START_PAGE', $config->get('default_setting_start_page', "none"));
Expand Down

0 comments on commit a015287

Please sign in to comment.