Bug 18642: Remove debug messages
authorJosef Moravec <josef.moravec@gmail.com>
Mon, 22 May 2017 10:38:02 +0000 (10:38 +0000)
committerKyle M Hall <kyle@bywatersolutions.com>
Sat, 20 May 2017 13:58:22 +0000 (13:58 +0000)
Test plan:
0) Apply the patch
1) git grep Data::Printer
    -> should return no results
2) Go to Reports -> Use saved - should work fine

Signed-off-by: Marc VĂ©ron <veron@veron.ch>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

reports/guided_reports.pl

index edff7d0..b81e84f 100755 (executable)
@@ -110,8 +110,6 @@ elsif ( $phase eq 'Build new' ) {
     if ( $op eq 'convert' ) {
         my $report_id = $input->param('report_id');
         my $report    = C4::Reports::Guided::get_saved_report($report_id);
-        warn $report_id;
-        use Data::Printer colored => 1; warn p $report;
         if ($report) {
             my $updated_sql = C4::Reports::Guided::convert_sql( $report->{savedsql} );
             C4::Reports::Guided::update_sql(