summaryrefslogtreecommitdiff
path: root/fml/lib/FML/Process/TicketSystem.pm
diff options
context:
space:
mode:
authorfukachan <fukachan>2001-06-10 11:24:11 +0000
committerfukachan <fukachan>2001-06-10 11:24:11 +0000
commita33aab4318cb9db5b256bde58dde891a562aadfa (patch)
tree5940b92002d985235c9fc1b8f25aacaa6d9701fe /fml/lib/FML/Process/TicketSystem.pm
parent02dc1a35784121c632387121810b10100fb80d66 (diff)
downloadfml8-a33aab4318cb9db5b256bde58dde891a562aadfa.tar.gz
fml8-a33aab4318cb9db5b256bde58dde891a562aadfa.tar.bz2
fml8-a33aab4318cb9db5b256bde58dde891a562aadfa.zip
modify to use $ticket_driver. $ticket_driver is class name not model
name.
Diffstat (limited to 'fml/lib/FML/Process/TicketSystem.pm')
-rw-r--r--fml/lib/FML/Process/TicketSystem.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/fml/lib/FML/Process/TicketSystem.pm b/fml/lib/FML/Process/TicketSystem.pm
index f69aaee2..ebee156d 100644
--- a/fml/lib/FML/Process/TicketSystem.pm
+++ b/fml/lib/FML/Process/TicketSystem.pm
@@ -4,7 +4,7 @@
# Copyright (C) 2000-2001 Ken'ichi Fukamachi
# All rights reserved.
#
-# $FML: TicketSystem.pm,v 1.14 2001/04/03 09:45:44 fukachan Exp $
+# $FML: TicketSystem.pm,v 1.15 2001/05/30 04:03:22 fukachan Exp $
#
package FML::Process::TicketSystem;
@@ -29,8 +29,8 @@ FML::Process::TicketSystem -- primitive fml5 ticket system
use FML::Process::TicketSystem;
... snip ...
- use FML::Ticket::Model::toymodel;
- $ticket = FML::Ticket::Model::toymodel->new($curproc, $args);
+ use FML::Ticket::Model::minimal_states;
+ $ticket = FML::Ticket::Model::minimal_states->new($curproc, $args);
$ticket->$method($curproc, $args);
=head1 DESCRIPTION
@@ -83,7 +83,7 @@ sub run
my ($curproc, $args) = @_;
my $config = $curproc->{ config };
my $model = $config->{ ticket_model };
- my $pkg = "FML::Ticket::Model::". $model;
+ my $pkg = $config->{ ticket_driver };
my $argv = $args->{ ARGV };
my $command = $argv->[ 0 ] || 'list';