From 70b757df5bcba7dc0bdf6248a25bc311215bc118 Mon Sep 17 00:00:00 2001 From: peaklabs-dev <122374094+peaklabs-dev@users.noreply.github.com> Date: Mon, 16 Sep 2024 19:53:45 +0200 Subject: [PATCH] remove old function --- app/Models/PrivateKey.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/app/Models/PrivateKey.php b/app/Models/PrivateKey.php index 155ac2bdc..ee1a6b808 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']);