diff --git a/CHANGELOG.md b/CHANGELOG.md index f70fbeb7..990cc293 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -27,6 +27,7 @@ This project follows [Semantic Versioning](http://semver.org) guidelines. * Using default value in rules when creating a new variable if the rules is empty. * Fixes a design-flaw in the allocation management part of nodes that would run a MySQL query for each port being allocated. This behavior is now changed to only execute one query to add multiple ports at once. * Attempting to create a server when no nodes are configured now redirects to the node creation page. +* Fixes missing library issue for teamspeak when used with mariadb. ## v0.6.4 (Courageous Carniadactylus) ### Fixed diff --git a/app/Console/Commands/Environment/AppSettingsCommand.php b/app/Console/Commands/Environment/AppSettingsCommand.php index a7d602b5..709ed226 100644 --- a/app/Console/Commands/Environment/AppSettingsCommand.php +++ b/app/Console/Commands/Environment/AppSettingsCommand.php @@ -115,7 +115,6 @@ class AppSettingsCommand extends Command $this->checkForRedis(); $this->writeToEnvironment($this->variables); - $this->command->call('config:cache'); $this->info($this->command->output()); } diff --git a/app/Console/Commands/Environment/DatabaseSettingsCommand.php b/app/Console/Commands/Environment/DatabaseSettingsCommand.php index d012971b..f99c155b 100644 --- a/app/Console/Commands/Environment/DatabaseSettingsCommand.php +++ b/app/Console/Commands/Environment/DatabaseSettingsCommand.php @@ -122,7 +122,6 @@ class DatabaseSettingsCommand extends Command $this->writeToEnvironment($this->variables); - $this->console->call('config:cache'); $this->info($this->console->output()); return 0; diff --git a/app/Console/Commands/Environment/EmailSettingsCommand.php b/app/Console/Commands/Environment/EmailSettingsCommand.php index c5cb609b..61b922b7 100644 --- a/app/Console/Commands/Environment/EmailSettingsCommand.php +++ b/app/Console/Commands/Environment/EmailSettingsCommand.php @@ -92,7 +92,6 @@ class EmailSettingsCommand extends Command $this->writeToEnvironment($this->variables); $this->line('Updating stored environment configuration file.'); - $this->call('config:cache'); $this->line(''); } diff --git a/app/Http/Controllers/Admin/UserController.php b/app/Http/Controllers/Admin/UserController.php index d3ab28c9..20594f33 100644 --- a/app/Http/Controllers/Admin/UserController.php +++ b/app/Http/Controllers/Admin/UserController.php @@ -131,7 +131,7 @@ class UserController extends Controller $this->deletionService->handle($user); - return redirect()->route('admin.users.view', $user->id); + return redirect()->route('admin.users'); } /** diff --git a/composer.json b/composer.json index db04ade7..b0b0265b 100644 --- a/composer.json +++ b/composer.json @@ -68,21 +68,13 @@ } }, "scripts": { - "pre-install-cmd": [ - "rm -f bootstrap/cache/services.php bootstrap/cache/compiled.php" - ], - "pre-update-cmd": [ - "rm -f bootstrap/cache/services.php bootstrap/cache/compiled.php" - ], "post-install-cmd": [ "Illuminate\\Foundation\\ComposerScripts::postInstall", - "php artisan optimize", - "php artisan config:cache" + "php artisan optimize" ], "post-update-cmd": [ "Illuminate\\Foundation\\ComposerScripts::postUpdate", - "php artisan optimize", - "php artisan config:cache" + "php artisan optimize" ] }, "prefer-stable": true, diff --git a/tests/Unit/Commands/Environment/EmailSettingsCommandTest.php b/tests/Unit/Commands/Environment/EmailSettingsCommandTest.php index ec8d943e..1be2e50c 100644 --- a/tests/Unit/Commands/Environment/EmailSettingsCommandTest.php +++ b/tests/Unit/Commands/Environment/EmailSettingsCommandTest.php @@ -276,6 +276,5 @@ class EmailSettingsCommandTest extends CommandTestCase { $this->config->shouldReceive('get')->withAnyArgs()->zeroOrMoreTimes()->andReturnNull(); $this->command->shouldReceive('writeToEnvironment')->with($data)->once()->andReturnNull(); - $this->command->shouldReceive('call')->with('config:cache')->once()->andReturnNull(); } }