diff options
author | Aleksander Machniak <alec@alec.pl> | 2012-09-17 12:23:34 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2012-09-17 12:23:34 +0200 |
commit | 32ba62889c1def94f555c3e683fc8087ee16c9b3 (patch) | |
tree | a58b9d64a5f04f85e2ee4a6a7cdefc07401669ac /program/steps/addressbook/edit.inc | |
parent | fa4bf4388b00b6093df6c770b3db865cc1fa4f40 (diff) |
Don't directly require email address on contact import, allowing import
of contacts being validated by addressbook validation code. The same
as for create/edit contact actions.
Diffstat (limited to 'program/steps/addressbook/edit.inc')
-rw-r--r-- | program/steps/addressbook/edit.inc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/program/steps/addressbook/edit.inc b/program/steps/addressbook/edit.inc index 0f1fd6697..90069a7eb 100644 --- a/program/steps/addressbook/edit.inc +++ b/program/steps/addressbook/edit.inc @@ -117,9 +117,6 @@ function rcmail_contact_editform($attrib) $record = rcmail_get_edit_record(); - // add some labels to client - $RCMAIL->output->add_label('noemailwarning', 'nonamewarning'); - // copy (parsed) address template to client if (preg_match_all('/\{([a-z0-9]+)\}([^{]*)/i', $RCMAIL->config->get('address_template', ''), $templ, PREG_SET_ORDER)) $RCMAIL->output->set_env('address_template', $templ); |