removed get_samba3() call

This commit is contained in:
Roland Gruber 2004-06-02 13:20:19 +00:00
parent e18392ec6e
commit 1a61d3a7dd
1 changed files with 1 additions and 1 deletions

View File

@ -505,7 +505,7 @@ class Config {
* @return true if $value has correct format * @return true if $value has correct format
*/ */
function set_DomainSuffix($value) { 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))) { elseif (is_string($value) && (eregi("^(([a-z0-9 \\-])*=([a-z0-9 \\-])*)(,([a-z0-9 \\-])*=([a-z0-9 \\-])*)*$", $value))) {
$this->domainsuffix = $value; $this->domainsuffix = $value;
} }