aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_cdr.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/app_cdr.c')
-rw-r--r--apps/app_cdr.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/apps/app_cdr.c b/apps/app_cdr.c
index c0d88fbbb..23044de80 100644
--- a/apps/app_cdr.c
+++ b/apps/app_cdr.c
@@ -61,13 +61,7 @@ static int nocdr_exec(struct ast_channel *chan, void *data)
static int unload_module(void)
{
- int res;
-
- res = ast_unregister_application(nocdr_app);
-
- ast_module_user_hangup_all();
-
- return res;
+ return ast_unregister_application(nocdr_app);
}
static int load_module(void)