mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 09:04:39 +00:00
System: Trust: Certificates - work in progress for https://github.com/opnsense/core/issues/7248
* fix dependency check
This commit is contained in:
parent
38cb5cda12
commit
9380846204
@ -182,7 +182,7 @@ class CertController extends ApiMutableModelControllerBase
|
||||
if ($this->request->isPost() && !empty($uuid)) {
|
||||
$node = $this->getModel()->getNodeByReference('cert.' . $uuid);
|
||||
if ($node !== null) {
|
||||
$this->checkAndThrowValueInUse((string)$node->refid, false, false);
|
||||
$this->checkAndThrowValueInUse((string)$node->refid, false, false, ['cert']);
|
||||
}
|
||||
return $this->delBase('cert', $uuid);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user