From 5a021f983ec8c5ea5972293ba801e2b9eccbe8fb Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Mon, 5 Jul 2010 12:37:06 +0200 Subject: [PATCH] Show success notification. --- turba/merge.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/turba/merge.php b/turba/merge.php index 4449b8537..5348d91d7 100644 --- a/turba/merge.php +++ b/turba/merge.php @@ -44,7 +44,10 @@ if (is_a($result = $contact->store(), 'PEAR_Error')) { } if (is_a($result = $driver->delete($key), 'PEAR_Error')) { $notification->push($result); + header('Location: ' . $url); + exit; } +$notification->push(_("Successfully merged two contacts."), 'horde.success'); header('Location: ' . $url); exit; -- 2.11.0