[asterisk-commits] file: branch 1.4 r56856 - in /branches/1.4: ./ pbx/pbx_config.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Mon Feb 26 13:07:18 MST 2007


Author: file
Date: Mon Feb 26 14:07:18 2007
New Revision: 56856

URL: http://svn.digium.com/view/asterisk?view=rev&rev=56856
Log:
Merged revisions 56850 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r56850 | file | 2007-02-26 15:05:02 -0500 (Mon, 26 Feb 2007) | 2 lines

Obey the clearglobalvars option in extensions reload (or dialplan reload depending on your version). (issue #9146 reported by ramonpeek)

........

Modified:
    branches/1.4/   (props changed)
    branches/1.4/pbx/pbx_config.c

Propchange: branches/1.4/
------------------------------------------------------------------------------
Binary property 'branch-1.2-merged' - no diff available.

Modified: branches/1.4/pbx/pbx_config.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/pbx/pbx_config.c?view=diff&rev=56856&r1=56855&r2=56856
==============================================================================
--- branches/1.4/pbx/pbx_config.c (original)
+++ branches/1.4/pbx/pbx_config.c Mon Feb 26 14:07:18 2007
@@ -2067,6 +2067,8 @@
 {
 	if (argc != 2)
 		return RESULT_SHOWUSAGE;
+	if (clearglobalvars_config)
+		pbx_builtin_clear_globals();
 	pbx_load_module();
 	return RESULT_SUCCESS;
 }



More information about the asterisk-commits mailing list