@@ -25,10 +25,10 @@ |
||
| 25 | 25 | |
| 26 | 26 | namespace App\Http\Controllers\General; |
| 27 | 27 | |
| 28 | +use App\DataTables\General\ArpDataTable; |
|
| 28 | 29 | use App\DataTables\General\IPv4DataTable; |
| 29 | 30 | use App\DataTables\General\IPv6DataTable; |
| 30 | 31 | use App\DataTables\General\MacDataTable; |
| 31 | -use App\DataTables\General\ArpDataTable; |
|
| 32 | 32 | use App\Http\Controllers\Controller; |
| 33 | 33 | use Illuminate\Http\Request; |
| 34 | 34 | |
@@ -69,7 +69,7 @@ |
||
| 69 | 69 | } |
| 70 | 70 | |
| 71 | 71 | if (!$this->option('dry-run')) { |
| 72 | - Settings::flush(); // clear the settings cache |
|
| 72 | + Settings::flush(); // clear the settings cache |
|
| 73 | 73 | DbConfig::updateOrCreate(['config_name' => 'settings.migrated'], ['config_value' => true]); |
| 74 | 74 | } |
| 75 | 75 | } |
@@ -83,7 +83,7 @@ |
||
| 83 | 83 | // remove entries with missing indexes |
| 84 | 84 | $delete = array_diff_key($current, $new); |
| 85 | 85 | foreach ($delete as $index => $value) { |
| 86 | - Settings::forget($key . '.' . $index); |
|
| 86 | + Settings::forget($key.'.'.$index); |
|
| 87 | 87 | } |
| 88 | 88 | |
| 89 | 89 | Settings::set($key, $new); |