]> _ Git - fluidbook-toolbox.git/commitdiff
wip #6555 @0.25
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 5 Dec 2023 16:58:25 +0000 (17:58 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 5 Dec 2023 16:58:25 +0000 (17:58 +0100)
app/Models/FluidbookExternalInstallServer.php

index 16097da5f9c8fde8f458b2d70b3409362534d5f0..bf34457bd28f120b9be6750302d7ca2e8415b3c3 100644 (file)
@@ -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();
     }