lib/openwfe/worklist/storeparticipant.rb in openwferu-0.9.12 vs lib/openwfe/worklist/storeparticipant.rb in openwferu-0.9.12.863
- old
+ new
@@ -28,21 +28,19 @@
# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
#++
#
-#
#
# "made in Japan"
#
# John Mettraux at openwfe.org
#
require 'openwfe/utils'
require 'openwfe/omixins'
-require 'openwfe/rudefinitions'
require 'openwfe/storage/yamlfilestorage'
require 'openwfe/participants/participant'
module OpenWFE
@@ -231,16 +229,14 @@
# application_context.
# The dirname should be a simple name acceptable as a filename.
#
def initialize (dirname, application_context)
- workdir = OpenWFE::get_work_directory
-
@dirname = OpenWFE::ensure_for_filename(dirname.to_s)
service_name = self.class.name + "__" + @dirname
- path = workdir + "/participants/" + @dirname
+ path = "/participants/" + @dirname
super(service_name, application_context, path)
end
protected