aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_dahdiscan.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/app_dahdiscan.c')
-rw-r--r--apps/app_dahdiscan.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/apps/app_dahdiscan.c b/apps/app_dahdiscan.c
index 70335b334..1f2a0f8fd 100644
--- a/apps/app_dahdiscan.c
+++ b/apps/app_dahdiscan.c
@@ -53,7 +53,6 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/options.h"
static char *app = "DAHDIScan";
-static char *deprecated_app = "ZapScan";
static char *synopsis = "Scan DAHDI channels to monitor calls";
@@ -357,12 +356,6 @@ static int conf_exec(struct ast_channel *chan, void *data)
return res;
}
-static int conf_exec_warn(struct ast_channel *chan, void *data)
-{
- ast_log(LOG_WARNING, "Use of the command %s is deprecated, please use %s instead.\n", deprecated_app, app);
- return conf_exec(chan, data);
-}
-
static int unload_module(void)
{
return ast_unregister_application(app);
@@ -370,7 +363,6 @@ static int unload_module(void)
static int load_module(void)
{
- ast_register_application(deprecated_app, conf_exec_warn, synopsis, descrip);
return ((ast_register_application(app, conf_exec, synopsis, descrip)) ? AST_MODULE_LOAD_FAILURE : AST_MODULE_LOAD_SUCCESS);
}