From b7e9524c386e74acc5806256849273e89325f9c7 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Tue, 10 Oct 2017 16:49:09 -0400 Subject: [PATCH] more debug removal --- models/front/registrations/registration.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/models/front/registrations/registration.php b/models/front/registrations/registration.php index 03be5b2..e777627 100644 --- a/models/front/registrations/registration.php +++ b/models/front/registrations/registration.php @@ -232,7 +232,6 @@ $registrant['account'] ) ); - $this->wpdb->show_errors(); if ( $registrant['reg_time'] && filter_var( $registrant['reg_time'], FILTER_VALIDATE_INT ) ) { $regTimeText = $this->wpdb->get_var( $this->wpdb->prepare( @@ -245,7 +244,6 @@ // var_dump( $regTimeText ); $registrant['reg_time_text'] = $regTimeText; } - $this->wpdb->print_error(); $registrant['class_id'] = $classId; $registrant['email'] = $email; $registrant['validated'] = $accountData['validated']; -- 2.17.1