From cba57ae5d83e2da0f3b121953431cca723df9a41 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 8 Nov 2010 06:32:25 +0000 Subject: [PATCH] Updated usage of registration classes git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20201 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../generic/dashBoard/Register/class_RegistrationDialog.inc | 1 - gosa-core/plugins/generic/dashBoard/class_dashBoard.inc | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/gosa-core/plugins/generic/dashBoard/Register/class_RegistrationDialog.inc b/gosa-core/plugins/generic/dashBoard/Register/class_RegistrationDialog.inc index 86e9046c8..189d4f717 100644 --- a/gosa-core/plugins/generic/dashBoard/Register/class_RegistrationDialog.inc +++ b/gosa-core/plugins/generic/dashBoard/Register/class_RegistrationDialog.inc @@ -18,7 +18,6 @@ class RegistrationDialog extends plugin function __construct(&$config) { $this->config = $config; - $this->isRegistered = GOsaRegistration::isRegistered($this->config); foreach($this->attrs as $attr) $this->values[$attr] = ""; diff --git a/gosa-core/plugins/generic/dashBoard/class_dashBoard.inc b/gosa-core/plugins/generic/dashBoard/class_dashBoard.inc index 7a4466794..b0e8e7f46 100644 --- a/gosa-core/plugins/generic/dashBoard/class_dashBoard.inc +++ b/gosa-core/plugins/generic/dashBoard/class_dashBoard.inc @@ -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(); -- 2.30.2