Remove the problematic and unneeded AST_MODFLAG_GLOBAL_SYMBOLS from pbx_lua.c
authorGeorge Joseph <george.joseph@fairview5.com>
Thu, 19 Jun 2014 16:04:36 +0000 (16:04 +0000)
committerGeorge Joseph <george.joseph@fairview5.com>
Thu, 19 Jun 2014 16:04:36 +0000 (16:04 +0000)
commit67021bfa07a02b20ceac5a348ff3d45e2b672674
tree7153e3809b5b79afd01ab54aca605746ef58e483
parentcc4178bf253a420f630de5c46fbe8ab117be7c61
Remove the problematic and unneeded AST_MODFLAG_GLOBAL_SYMBOLS from pbx_lua.c

AST_MODFLAG_GLOBAL_SYMBOLS was causing the module to be incorrectly loaded
before pbx_config.  pbx_config was therefore blowing away contexts that were
created by pbx_lua.  With AST_MODFLAG_DEFAULT the load order is now correct
and contexs are being properly merged.  AST_MODFLAG_GLOBAL_SYMBOLS was not
needed anyway since no other modules needed its global symbols that early.

ASTERISK-23818 #close
Reported by: Dennis Guse
Tested by: Dennis Guse
Tested by: George Joseph

Review: https://reviewboard.asterisk.org/r/3629/
........

Merged revisions 416668 from http://svn.asterisk.org/svn/asterisk/branches/11
........

Merged revisions 416669 from http://svn.asterisk.org/svn/asterisk/branches/12

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@416670 65c4cc65-6c06-0410-ace0-fbb531ad65f3
pbx/pbx_lua.c