aboutsummaryrefslogtreecommitdiff
path: root/src/mail/ngx_mail.c
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@nginx.com>2015-04-29 13:53:24 +0300
committerRuslan Ermilov <ru@nginx.com>2015-04-29 13:53:24 +0300
commit80781f15b4a3a29e4ea44ec9274daa65b8348845 (patch)
treec68b1e137918344b7cce8b07f101d3a8fd6b06e6 /src/mail/ngx_mail.c
parent3468015e12659a9f2d046a01264ee79af5c3c833 (diff)
downloadnginx-80781f15b4a3a29e4ea44ec9274daa65b8348845.tar.gz
nginx-80781f15b4a3a29e4ea44ec9274daa65b8348845.zip
Removed the deprecated "imap" directive.
Diffstat (limited to 'src/mail/ngx_mail.c')
-rw-r--r--src/mail/ngx_mail.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/mail/ngx_mail.c b/src/mail/ngx_mail.c
index 3e4b2cbf4..48ce28617 100644
--- a/src/mail/ngx_mail.c
+++ b/src/mail/ngx_mail.c
@@ -36,13 +36,6 @@ static ngx_command_t ngx_mail_commands[] = {
0,
NULL },
- { ngx_string("imap"),
- NGX_MAIN_CONF|NGX_CONF_BLOCK|NGX_CONF_NOARGS,
- ngx_mail_block,
- 0,
- 0,
- NULL },
-
ngx_null_command
};
@@ -83,12 +76,6 @@ ngx_mail_block(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
ngx_mail_core_srv_conf_t **cscfp;
ngx_mail_core_main_conf_t *cmcf;
- if (cmd->name.data[0] == 'i') {
- ngx_conf_log_error(NGX_LOG_WARN, cf, 0,
- "the \"imap\" directive is deprecated, "
- "use the \"mail\" directive instead");
- }
-
/* the main mail context */
ctx = ngx_pcalloc(cf->pool, sizeof(ngx_mail_conf_ctx_t));