ZoneOwnerRepair
final class ZoneOwnerRepair (View source)
Writes a zone owner into the Poweradmin-native zones table. Ownership lives there under both backends, so the SQL and API strategies share this repair.
Methods
bool
assign(int $zoneId, int $userId)
Update the zone's ownership row, or insert one when the zone has none.
Details
__construct(PDO $db, string|null $domainsTable = null)
No description
bool
assign(int $zoneId, int $userId)
Update the zone's ownership row, or insert one when the zone has none.