Show success notification.
authorJan Schneider <jan@horde.org>
Mon, 5 Jul 2010 10:37:06 +0000 (12:37 +0200)
committerJan Schneider <jan@horde.org>
Mon, 5 Jul 2010 10:37:06 +0000 (12:37 +0200)
turba/merge.php

index 4449b85..5348d91 100644 (file)
@@ -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;