dnsmasq: Add internalModelUseSafeDelete to prevent deletion of currently used tags (#8468)

This commit is contained in:
Monviech 2025-03-22 15:50:52 +01:00 committed by GitHub
parent 7194c9ba34
commit 00921f6b3e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -35,6 +35,7 @@ class SettingsController extends ApiMutableModelControllerBase
{
protected static $internalModelName = 'dnsmasq';
protected static $internalModelClass = '\OPNsense\Dnsmasq\Dnsmasq';
protected static $internalModelUseSafeDelete = true;
/**
* @inheritdoc