reverted renaming to use `modules' for available modules.

Added CMS_SETUP.register_module (m) to avoid extending directly to the CMS_SETUP.modules
This commit is contained in:
2014-11-20 14:53:54 +01:00
parent ba58fcdf75
commit 51462829c7
4 changed files with 47 additions and 23 deletions

View File

@@ -101,7 +101,7 @@ feature {NONE} -- Launch operation
feature -- CMS Initialization
cms_setup: CMS_CUSTOM_SETUP
cms_setup: CMS_DEFAULT_SETUP
do
if attached separate_character_option_value ('d') as l_dir then
log.write_debug (generator + ".cms_setup using a command line argument -d " + l_dir )
@@ -135,11 +135,11 @@ feature -- CMS setup
do
create {BASIC_AUTH_MODULE} m.make
m.enable
a_setup.available_modules.extend (m)
a_setup.register_module (m)
create {CMS_DEMO_MODULE} m.make
m.enable
a_setup.available_modules.extend (m)
a_setup.register_module (m)
end
setup_storage (a_setup: CMS_SETUP)