From 9cd4b1bc5899a6bf2d3b22dc96268f1642989583 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak <alec@alec.pl> Date: Sun, 08 May 2016 03:31:46 -0400 Subject: [PATCH] Display different confirmation text when moving messages to Trash (#5220) --- program/steps/mail/move_del.inc | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/program/steps/mail/move_del.inc b/program/steps/mail/move_del.inc index 0856a26..88aff2c 100644 --- a/program/steps/mail/move_del.inc +++ b/program/steps/mail/move_del.inc @@ -56,7 +56,7 @@ $OUTPUT->send(); } else { - $OUTPUT->show_message('messagemoved', 'confirmation'); + $OUTPUT->show_message($target == $trash ? 'messagemovedtotrash' : 'messagemoved', 'confirmation'); } if (!empty($_POST['_refresh'])) { -- Gitblit v1.9.1