We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb6c154 commit 8fa83dcCopy full SHA for 8fa83dc
1 file changed
pfSense-pkg-RESTAPI/files/usr/local/pkg/RESTAPI/Models/CertificateAuthority.inc
@@ -115,7 +115,7 @@ class CertificateAuthority extends Model {
115
*/
116
public function _delete(): void {
117
# Do not allow this CertificateAuthority to be deleted if it is in use
118
- if (cert_in_use($this->refid->value)) {
+ if (ca_in_use($this->refid->value)) {
119
throw new ForbiddenError(
120
message: 'Certificate authority cannot be deleted because it is in use.',
121
response_id: 'CERTIFICATE_AUTHORITY_CANNOT_BE_DELETED_WHILE_IN_USE',
0 commit comments