Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

remove unnecessary things

Andras Bacsai49f8abcd79d9
diff --git a/bootstrap/helpers/remoteProcess.php b/bootstrap/helpers/remoteProcess.php
index e0d2f68db2..84f2dc9d37 100644
--- a/bootstrap/helpers/remoteProcess.php
+++ b/bootstrap/helpers/remoteProcess.php
@@ -56,7 +56,7 @@ function removePrivateKeyFromSshAgent(Server $server)
}
processWithEnv()->run("echo '{$server->privateKey->private_key}' | ssh-add -d -");
}
-function addPrivateKeyToSshAgent(Server $server, bool $onlyRemove = false)
+function addPrivateKeyToSshAgent(Server $server)
{
if (data_get($server, 'privateKey.private_key') === null) {
throw new \Exception("Server {$server->name} does not have a private key");