Update of /cvsroot/openinteract/OpenInteract2/pkg/full_text/OpenInteract2/Action
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16278/pkg/full_text/OpenInteract2/Action
Modified Files:
SiteSearch.pm
Log Message:
update packages to move as many messages as possible out of code and into message files; use new add_status/add_error shortcuts
Index: SiteSearch.pm
===================================================================
RCS file: /cvsroot/openinteract/OpenInteract2/pkg/full_text/OpenInteract2/Action/SiteSearch.pm,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** SiteSearch.pm 25 Sep 2004 18:20:31 -0000 1.15
--- SiteSearch.pm 5 Dec 2004 08:51:22 -0000 1.16
***************
*** 90,97 ****
};
if ( $@ ) {
! my $error = $@;
! $log->error( "Failed to save search results: $error" );
! $self->param_add(
! error_msg => $self->_msg( 'fulltext.results_save_fail', "$error" ) );
}
else {
--- 90,95 ----
};
if ( $@ ) {
! $self->add_error_key( 'fulltext.results_save_fail', $@ );
! $log->error( "Failed to save search results: $@" );
}
else {
|