Update of /cvsroot/openinteract/OpenInteract2/lib/OpenInteract2
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16844/lib/OpenInteract2
Modified Files:
Action.pm
Log Message:
move common action messages into global message file
Index: Action.pm
===================================================================
RCS file: /cvsroot/openinteract/OpenInteract2/lib/OpenInteract2/Action.pm,v
retrieving revision 1.64
retrieving revision 1.65
diff -C2 -d -r1.64 -r1.65
*** Action.pm 2 Dec 2004 03:18:54 -0000 1.64
--- Action.pm 5 Dec 2004 08:52:55 -0000 1.65
***************
*** 949,952 ****
--- 949,953 ----
sub add_error_key {
my ( $self, $key, @params ) = @_;
+ $log->is_debug && $log->debug( "Adding error with key '$key'" );
return $self->add_error( $self->_msg( $key, @params ) );
}
***************
*** 954,957 ****
--- 955,959 ----
sub add_status_key {
my ( $self, $key, @params ) = @_;
+ $log->is_debug && $log->debug( "Adding status with key '$key'" );
return $self->add_status( $self->_msg( $key, @params ) );
}
|