From 0a99debd2316a6f4f8d857fce3ac1d5e8d09b810 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 => $_, -- 2.39.5