mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-08 10:58:15 +00:00
Merged revisions 19345 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r19345 | kpfleming | 2006-04-11 16:14:42 -0500 (Tue, 11 Apr 2006) | 2 lines don't destroy the entire dialplan during 'reload', just atomically replace it like 'extensions reload' does (issue #6047) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19346 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* Asterisk -- An open source telephony toolkit.
|
||||
*
|
||||
* Copyright (C) 1999 - 2005, Digium, Inc.
|
||||
* Copyright (C) 1999 - 2006, Digium, Inc.
|
||||
*
|
||||
* Mark Spencer <markster@digium.com>
|
||||
*
|
||||
@@ -1535,7 +1535,6 @@ STATIC_MODULE int load_module(void)
|
||||
|
||||
STATIC_MODULE int reload(void)
|
||||
{
|
||||
ast_context_destroy(NULL, registrar);
|
||||
if (clearglobalvars_config)
|
||||
pbx_builtin_clear_globals();
|
||||
pbx_load_module();
|
||||
|
||||
Reference in New Issue
Block a user