store workspace in the correct place for module_run events

git-svn-id: file:///home/svn/framework3/trunk@8659 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
James Lee 2010-02-26 18:38:05 +00:00
parent eb8e8d22b5
commit 99f4507405
1 changed files with 1 additions and 2 deletions

View File

@ -206,10 +206,9 @@ class FrameworkEventSubscriber
datastore_hash = instance.datastore.to_h
info = {}
info[:workspace] = framework.db.find_workspace(instance.workspace),
info[:module_name] = instance.refname
info[:datastore] = datastore_hash
report_event(:name => "module_run", :info => info)
report_event(:name => "module_run", :info => info, :workspace => framework.db.find_workspace(instance.workspace))
end
end