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