From 57924bc782f0db32621ff0472a4a8691dffbe717 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Tue, 9 Sep 2008 11:08:07 -0500 Subject: [PATCH] commenting out debug warns Signed-off-by: Galen Charlton --- members/messaging.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/members/messaging.pl b/members/messaging.pl index eff6ee49cd..c3479f4307 100755 --- a/members/messaging.pl +++ b/members/messaging.pl @@ -100,7 +100,7 @@ if ( defined $query->param('modify') && $query->param('modify') eq 'yes' ) { } } - warn( 'calling SetMessaginPreferencse with ' . Data::Dumper->Dump( [ $updater ], [ 'updater' ] ) ); + #warn( 'calling SetMessaginPreferencse with ' . Data::Dumper->Dump( [ $updater ], [ 'updater' ] ) ); C4::Members::Messaging::SetMessagingPreference( $updater ); } @@ -112,7 +112,7 @@ if ( defined $query->param('modify') && $query->param('modify') eq 'yes' ) { PREF: foreach my $option ( @$messaging_options ) { my $pref = C4::Members::Messaging::GetMessagingPreferences( { borrowernumber => $borrower->{'borrowernumber'}, message_name => $option->{'message_name'} } ); - warn( Data::Dumper->Dump( [ $pref ], [ 'pref' ] ) ); + #warn( Data::Dumper->Dump( [ $pref ], [ 'pref' ] ) ); # make a hashref of the days, selecting one. if ( $option->{'takes_days'} ) { @{$option->{'select_days'}} = map {; { day => $_,