From 490e2337bb9d2e82f51685717cc50905bd4a4e21 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Tue, 5 Dec 2023 17:58:25 +0100 Subject: [PATCH] wip #6555 @0.25 --- app/Models/FluidbookExternalInstallServer.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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(); } -- 2.39.5