Wed, 10 Nov 2010 22:27:09 +0500
modulemanager, usermanager: Removed hooks for the 'component-activated' event (components now fire 'host-activated').
core/modulemanager.lua | file | annotate | diff | comparison | revisions | |
core/usermanager.lua | file | annotate | diff | comparison | revisions |
--- a/core/modulemanager.lua Wed Nov 10 22:02:28 2010 +0500 +++ b/core/modulemanager.lua Wed Nov 10 22:27:09 2010 +0500 @@ -85,7 +85,6 @@ end end prosody_events.add_handler("host-activated", load_modules_for_host); -prosody_events.add_handler("component-activated", load_modules_for_host); -- function load(host, module_name, config)
--- a/core/usermanager.lua Wed Nov 10 22:02:28 2010 +0500 +++ b/core/usermanager.lua Wed Nov 10 22:27:09 2010 +0500 @@ -57,7 +57,6 @@ end end; prosody.events.add_handler("host-activated", initialize_host, 100); -prosody.events.add_handler("component-activated", initialize_host, 100); function test_password(username, host, password) return hosts[host].users.test_password(username, password);