summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 72fe697)
raw | patch | inline | side by side (parent: 72fe697)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 10 Nov 2010 13:56:50 +0000 (13:56 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 10 Nov 2010 13:56:50 +0000 (13:56 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20222 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 81433a95964f14553ed461b7fb49dbbaf71c8b02..2090e9deb633f02af066a6d63e0118e6d511c9e1 100644 (file)
function isInstanceRegisteredWithServer()
{
- if($this->isRegistered === NULL){
- $con = $this->getConnection();
- $res = $con->isInstanceRegistered($this->config->getInstanceUuid());
- if($con->success()){
- $this->isRegistered = $res;
- }else{
- return(FALSE);
- }
+ $con = $this->getConnection();
+ $res = $con->isInstanceRegistered($this->config->getInstanceUuid());
+ if($con->success()){
+ $this->isRegistered = $res;
+ }else{
+ return(FALSE);
}
return($this->isRegistered);
}