@@ -25,14 +25,14 @@ |
||
| 25 | 25 | public function boot() |
| 26 | 26 | { |
| 27 | 27 | // Service provider to customize form inputs |
| 28 | - Form::component('bsText', 'components.form.text', ['name', 'label', 'value' => null, 'attributes' => []]); |
|
| 28 | + Form::component('bsText', 'components.form.text', ['name', 'label', 'value' => null, 'attributes' => []]); |
|
| 29 | 29 | Form::component('bsPassword', 'components.form.password', ['name', 'label', 'value' => null, 'attributes' => []]); |
| 30 | - Form::component('bsNumber', 'components.form.number', ['name', 'label', 'value' => null, 'attributes' => []]); |
|
| 31 | - Form::component('bsEmail', 'components.form.email', ['name', 'label', 'value' => null, 'attributes' => []]); |
|
| 32 | - Form::component('bsDate', 'components.form.date', ['name', 'label', 'value' => null, 'attributes' => []]); |
|
| 30 | + Form::component('bsNumber', 'components.form.number', ['name', 'label', 'value' => null, 'attributes' => []]); |
|
| 31 | + Form::component('bsEmail', 'components.form.email', ['name', 'label', 'value' => null, 'attributes' => []]); |
|
| 32 | + Form::component('bsDate', 'components.form.date', ['name', 'label', 'value' => null, 'attributes' => []]); |
|
| 33 | 33 | Form::component('bsTextarea', 'components.form.textarea', ['name', 'label', 'value' => null, 'attributes' => []]); |
| 34 | 34 | Form::component('bsCheckbox', 'components.form.checkbox', ['name', 'label', 'value' => 'on', 'checked' => false, 'attributes' => []]); |
| 35 | - Form::component('bsSelect', 'components.form.select', ['name', 'label', 'list', 'selected' => null, 'attributes' => []]); |
|
| 35 | + Form::component('bsSelect', 'components.form.select', ['name', 'label', 'list', 'selected' => null, 'attributes' => []]); |
|
| 36 | 36 | // Custom Submit button |
| 37 | 37 | Form::component('bsSubmit', 'components.form.submit', ['name']); |
| 38 | 38 | // List of all states in a dropdown box |
@@ -88,7 +88,8 @@ |
||
| 88 | 88 | $this->line(''); |
| 89 | 89 | |
| 90 | 90 | $anticipate = []; |
| 91 | - foreach($updateList as $key => $up) { |
|
| 91 | + foreach($updateList as $key => $up) |
|
| 92 | + { |
|
| 92 | 93 | $opt = $key; |
| 93 | 94 | $anticipate[$opt] = $up; |
| 94 | 95 | } |
@@ -32,7 +32,7 @@ discard block |
||
| 32 | 32 | $this->fix = true; |
| 33 | 33 | } |
| 34 | 34 | // Extend the amount of time the script is allowed to run |
| 35 | - ini_set('max_execution_time', 600); // 600 seconds = 10 minutes |
|
| 35 | + ini_set('max_execution_time', 600); // 600 seconds = 10 minutes |
|
| 36 | 36 | |
| 37 | 37 | // Begin check |
| 38 | 38 | $fixStr = $this->fix ? 'on' : 'off'; |
@@ -80,7 +80,7 @@ discard block |
||
| 80 | 80 | Log::notice('Current Active Installers - ', $instArr); |
| 81 | 81 | |
| 82 | 82 | // All Active Administrators |
| 83 | - $adminArr = []; |
|
| 83 | + $adminArr = []; |
|
| 84 | 84 | $administrators = User::where('role_id', 2)->get(); |
| 85 | 85 | foreach($administrators as $adm) |
| 86 | 86 | { |
@@ -98,7 +98,7 @@ discard block |
||
| 98 | 98 | // Validate that each user has a user_settings entry |
| 99 | 99 | $this->line(''); |
| 100 | 100 | $this->line('Validating User Settings'); |
| 101 | - $userList = User::all(); |
|
| 101 | + $userList = User::all(); |
|
| 102 | 102 | foreach($userList as $user) |
| 103 | 103 | { |
| 104 | 104 | $row = UserSettings::where('user_id', $user->user_id)->count(); |
@@ -49,7 +49,7 @@ |
||
| 49 | 49 | // Get the total count of file links the user has |
| 50 | 50 | public function getUserTotalLinks() |
| 51 | 51 | { |
| 52 | - $totalLinks = FileLinks::where('user_id', $this->userID)->count(); |
|
| 52 | + $totalLinks = FileLinks::where('user_id', $this->userID)->count(); |
|
| 53 | 53 | Log::debug('Retrieved count of total File Links for User ID'.$this->userID.'. Data - ', ['Total Links' => $totalLinks]); |
| 54 | 54 | |
| 55 | 55 | return $totalLinks; |