program/steps/settings/delete_identity.inc
@@ -32,12 +32,15 @@ { $plugin = $RCMAIL->plugins->exec_hook('identity_delete', array('id' => $iid)); if (!$plugin['abort'] && $USER->delete_identity($iid)) { if (!$plugin['abort']) { if ($USER->delete_identity($iid)) { $OUTPUT->show_message('deletedsuccessfully', 'confirmation', null, false); } else { $OUTPUT->show_message('nodeletelastidentity', 'error', null, false); } } // send response if ($OUTPUT->ajax_call) $OUTPUT->send();