Code

Updated usage of registration classes
[gosa.git] / gosa-core / plugins / generic / dashBoard / class_dashBoard.inc
index 7a446679485504bceba08ef8c634866209c25da8..b0e8e7f4630d887a5537fd451b8e7bae0c948f5e 100644 (file)
@@ -55,7 +55,7 @@ class dashBoard extends plugin
     {
         plugin::save_object();
         
-        if(!$this->registered) $this->RegistrationDialog->save_object();
+        if(!$this->config->registration->isRegistered()) $this->RegistrationDialog->save_object();
 
         $this->dbPluginStatus->save_object();
         $this->dbChannelStatus->save_object();