From: Vincent Vanwaelscappel Date: Tue, 5 Dec 2023 16:58:25 +0000 (+0100) Subject: wip #6555 @0.25 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=490e2337bb9d2e82f51685717cc50905bd4a4e21;p=fluidbook-toolbox.git wip #6555 @0.25 --- diff --git a/app/Models/FluidbookExternalInstallServer.php b/app/Models/FluidbookExternalInstallServer.php index 16097da5f..bf34457bd 100644 --- a/app/Models/FluidbookExternalInstallServer.php +++ b/app/Models/FluidbookExternalInstallServer.php @@ -58,12 +58,7 @@ class FluidbookExternalInstallServer extends ExternalServer public function onSaving(): bool { - if ($this->isHosting()) { - $servers = static::withoutGlobalScopes()->where('protocol', $this->getProtocol())->get(); - foreach ($servers as $server) { - $d = Files::mkdir(protected_path($this->getProtocol()) . '/server_' . $server->id); - } - } + return parent::onSaving(); }