remove old function

This commit is contained in:
peaklabs-dev
2024-09-16 19:53:45 +02:00
parent 451272bf11
commit 70b757df5b

View File

@@ -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']);