From 9247dc592be490d25c2e89b9e77dcfe950bcc95a Mon Sep 17 00:00:00 2001 From: snipe Date: Wed, 13 Feb 2019 07:09:49 -0800 Subject: [PATCH] Removed debugging statements --- app/Importer/Importer.php | 1 - app/Importer/UserImporter.php | 5 ----- 2 files changed, 6 deletions(-) diff --git a/app/Importer/Importer.php b/app/Importer/Importer.php index dc517efe92..4885fb4c1e 100644 --- a/app/Importer/Importer.php +++ b/app/Importer/Importer.php @@ -341,7 +341,6 @@ abstract class Importer \Log::debug('Creating a user with the following attributes: '.print_r($user_array, true)); if ($user->save()) { - \Log::debug('Importer.php Name: '.$user->first_name.' '.$user->last_name.' ('.$user->username.')'); $this->log('User '.$user_array['username'].' created'); return $user; } diff --git a/app/Importer/UserImporter.php b/app/Importer/UserImporter.php index 1bf4be207b..206e39e6b7 100644 --- a/app/Importer/UserImporter.php +++ b/app/Importer/UserImporter.php @@ -44,15 +44,10 @@ class UserImporter extends ItemImporter $this->item['username'] = $this->findCsvMatch($row, 'username'); $this->item['first_name'] = $this->findCsvMatch($row, 'first_name'); $this->item['last_name'] = $this->findCsvMatch($row, 'last_name'); - \Log::debug('UserImporter.php Name: '.$this->item['first_name'].' '.$this->item['last_name'].' ('.$this->item['username'].')'); $this->item['email'] = $this->findCsvMatch($row, 'email'); $this->item['phone'] = $this->findCsvMatch($row, 'phone_number'); $this->item['jobtitle'] = $this->findCsvMatch($row, 'jobtitle'); $this->item['activated'] = ($this->fetchHumanBoolean($this->findCsvMatch($row, 'activated')) == 1) ? '1' : 0; - - \Log::debug('UserImporter.php Activated: '.$this->findCsvMatch($row, 'activated')); - \Log::debug('UserImporter.php Activated fetchHumanBoolean: '. $this->fetchHumanBoolean($this->findCsvMatch($row, 'activated'))); - $this->item['employee_num'] = $this->findCsvMatch($row, 'employee_num'); $this->item['department_id'] = $this->createOrFetchDepartment($this->findCsvMatch($row, 'department')); $this->item['manager_id'] = $this->fetchManager($this->findCsvMatch($row, 'manager_first_name'), $this->findCsvMatch($row, 'manager_last_name'));