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 old function

peaklabs-dev70b757df5bcb
diff --git a/app/Models/PrivateKey.php b/app/Models/PrivateKey.php
index 155ac2bdcb..ee1a6b808f 100644
--- a/app/Models/PrivateKey.php
+++ b/app/Models/PrivateKey.php
@@ -61,12 +61,6 @@ class PrivateKey extends BaseModel
return self::extractPublicKeyFromPrivate($this->private_key) ?? 'Error loading private key';
}
- // For backwards compatibility
- public function publicKey()
- {
- return $this->getPublicKey();
- }
-
public static function ownedByCurrentTeam(array $select = ['*'])
{
$selectArray = collect($select)->concat(['id']);