lib/openwfe/worklist/storeparticipant.rb in openwferu-0.9.6 vs lib/openwfe/worklist/storeparticipant.rb in openwferu-0.9.7

- old
+ new

@@ -201,15 +201,14 @@ # application_context. # The dirname should be a simple name acceptable as a filename. # def initialize (dirname, application_context) - workdir = application_context[:work_directory] - workdir = OpenWFE::DEFAULT_WORK_DIRECTORY unless workdir + workdir = OpenWFE::get_work_directory @dirname = OpenWFE::ensure_for_filename(dirname.to_s) - service_name = @self.class.name + "__" + @dirname + service_name = self.class.name + "__" + @dirname path = workdir + "/participants/" + @dirname super(service_name, application_context, path) end