Skip to content

Commit

Permalink
ref(other): remove the unnecessary Raw action displayed when viewing …
Browse files Browse the repository at this point in the history
…a message's content (#1377)
  • Loading branch information
amaninyumu1 authored Nov 23, 2024
1 parent 3163ddf commit 046e575
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions modules/imap/output_modules.php
Original file line number Diff line number Diff line change
Expand Up @@ -373,12 +373,6 @@ protected function output() {
}
$txt .= ' | ' . forward_dropdown($this, $reply_args);
}
if ($msg_part === '0') {
$txt .= ' | <a class="normal_link hlink msg_part_link normal_link" data-message-part="" href="#">'.$this->trans('normal').'</a>';
}
else {
$txt .= ' | <a class="raw_link hlink msg_part_link raw_link" data-message-part="0" href="#">'.$this->trans('raw').'</a>';
}
if (isset($headers['Flags']) && mb_stristr($headers['Flags'], 'flagged')) {
$txt .= ' | <a style="display: none;" class="flagged_link hlink" id="flag_msg" data-state="unflagged" href="#">'.$this->trans('Flag').'</a>';
$txt .= '<a id="unflag_msg" class="unflagged_link hlink" data-state="flagged" href="#">'.$this->trans('Unflag').'</a>';
Expand Down

0 comments on commit 046e575

Please sign in to comment.