fix: EMS Prerequisite Cache Stale

This commit is contained in:
Roy Johnson 2006-06-12 21:39:38 +00:00
parent 6f96677a5e
commit e6aafa2f7f
2 changed files with 9 additions and 1 deletions

View file

@ -3251,6 +3251,14 @@ sub www_editPrereqSetSave {
foreach (@newRequiredEvents) {
$self->session->db->write("insert into EventManagementSystem_prerequisiteEvents values (?,?)",[$psid,$_]);
}
# Rebuild the EMS Cache
WebGUI::Workflow::Instance->create($self->session, {
workflowId=>'EMSworkflow00000000001',
className=>"none",
priority=>1
});
return $self->www_managePrereqSets();
}