mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-12-02 21:30:16 +09:00
Allow registrar modules to set default WHOIS privacy status on domain… (#3286)
Allow registrar modules to set default WHOIS privacy status on domain registration Allow registrar modules to set WHOIS privacy status during domain registration. Some registries (e.g. .ge) automatically enable privacy protection or require it by default. This change allows modules to return the resulting privacy status via getPrivacyEnabled() so the domain model can store the correct value. Co-authored-by: Adam Daley <admdly@users.noreply.github.com>
This commit is contained in:
1 parent
b720c81229
commit
cd68d32d03
1 file changed
+5
@@ -335,6 +335,11 @@ class Service implements \FOSSBilling\InjectionAwareInterface
|
||||
$model->locked = $locked;
|
||||
}
|
||||
|
||||
$privacy = $whois->getPrivacyEnabled();
|
||||
if ($privacy !== null) {
|
||||
$model->privacy = $privacy;
|
||||
}
|
||||
|
||||
// sync whois
|
||||
$contact = $whois->getContactRegistrar();
|
||||
|
||||
|
||||
Reference in new issue
Block a user