From c629b78086733d625232904f788fcf2e055ef180 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Fri, 7 Sep 2018 15:37:38 -0400 Subject: [PATCH] Remove print_r Removing debug --- models/admin/ajax/billingFixActiveUsers.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/models/admin/ajax/billingFixActiveUsers.php b/models/admin/ajax/billingFixActiveUsers.php index 32ab08e..44252d9 100644 --- a/models/admin/ajax/billingFixActiveUsers.php +++ b/models/admin/ajax/billingFixActiveUsers.php @@ -92,15 +92,15 @@ class GlmMembersAdmin_ajax_billingFixActiveUsers // echo '
$total: ' . print_r( $total, true ) . '
'; if ( isset( $members ) && $members ) { foreach ( $members as $member ) { - echo '
$member: ' . print_r( $member, true ) . '
'; + // echo '
$member: ' . print_r( $member, true ) . '
'; $Contact = new GlmDataContacts( $this->wpdb, $this->config ); $contact_id = $Contact->getContactIdByRefDest( $member['ref_dest'] ); $user_id = $Contact->getWpUserId( $contact_id ); $wpUser = get_user_by( 'id', $user_id ); if ( $wpUser ) { - // echo '
$wpUser-role: ' . print_r( $wpUser->roles, true ) . '
'; $roles = $wpUser->roles; if ( $roles[0] != 'glm_members_own_entity_manager' ) { + // echo '
$wpUser-role: ' . print_r( $wpUser->roles, true ) . '
'; $rolesReset++; apply_filters( 'glm_contact_update_user_role_by_ref_dest', -- 2.17.1