summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 520c39f)
raw | patch | inline | side by side (parent: 520c39f)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 10 Nov 2010 15:44:29 +0000 (15:44 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 10 Nov 2010 15:44:29 +0000 (15:44 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20224 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_GOsaRegistration.inc | patch | blob | history |
diff --git a/gosa-core/include/class_GOsaRegistration.inc b/gosa-core/include/class_GOsaRegistration.inc
index 2090e9deb633f02af066a6d63e0118e6d511c9e1..2c788b10202c9f0a81a845a2c07bf59445933fa9 100644 (file)
return($this->isInstanceRegisteredWithServer());
}else{
- // Server is down, now check if we've an instancePassword set in our gosa.conf.
- return(!empty($this->config->instancePassword));
+ // Server is down, now check if we've an instancePassword set in our gosa.conf.
+ $instancePassword = $this->config->configRegistry->getPropertyValue('GOsaRegistration','instancePassword');
+ return(!empty($instancePassword));
}
}
{
return (array(
"plProperties" => array(
+ array(
+ "name" => "instancePassword",
+ "type" => "string",
+ "default" => "",
+ "description" => "",
+ "check" => "gosaProperty::isString",
+ "migrate" => "",
+ "group" => "registration",
+ "mandatory" => FALSE),
array(
"name" => "askForRegistration",
"type" => "integer",
"migrate" => "",
"group" => "registration",
"mandatory" => FALSE),
- )));
+ )
+ )
+ );
}
}