summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d45720b)
raw | patch | inline | side by side (parent: d45720b)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 10 Nov 2010 09:48:00 +0000 (09:48 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 10 Nov 2010 09:48:00 +0000 (09:48 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20219 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_GOsaRegistration.inc | patch | blob | history | |
gosa-core/include/class_config.inc | patch | blob | history |
diff --git a/gosa-core/include/class_GOsaRegistration.inc b/gosa-core/include/class_GOsaRegistration.inc
index 33c3394ac5d83d052a1018abdf0259eaddbd2395..904ca664f0ac367e19a7fa72168146051c70a747 100644 (file)
function registrationNotWanted()
{
+ // While we are registered this will always be FALSE.
+ if($this->isInstanceRegistered()) return(FALSE);
+
// Check if the registration process was postponed or completely(>=0) canceled (-1)
$date = $this->config->configRegistry->getPropertyValue('GOsaRegistration','askForRegistration');
return($date == -1);
index 5df8c8ef85976088d2bc713834ba584df0e0ad0b..b872cb5d828d35449dbfec18597b26e4e55f14a0 100644 (file)
}
+ function getInstancePassword()
+ {
+ return($this->instancePassword);
+ }
+
+
/*! \brief Check and reload the configuration
*
* This function checks if the configuration has changed, since it was