removed get_samba3() call
This commit is contained in:
parent
e18392ec6e
commit
1a61d3a7dd
|
@ -505,7 +505,7 @@ class Config {
|
|||
* @return true if $value has correct format
|
||||
*/
|
||||
function set_DomainSuffix($value) {
|
||||
if (!$value && ($this->get_Samba3() == "no")) $this->domainsuffix = "";
|
||||
if (!$value) $this->domainsuffix = "";
|
||||
elseif (is_string($value) && (eregi("^(([a-z0-9 \\-])*=([a-z0-9 \\-])*)(,([a-z0-9 \\-])*=([a-z0-9 \\-])*)*$", $value))) {
|
||||
$this->domainsuffix = $value;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue