From: cajus Date: Wed, 16 Apr 2008 13:55:54 +0000 (+0000) Subject: Enable activation X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=376e98a6d5574f8ea6f6bc6564665307aa1ec0b1;p=gosa.git Enable activation git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10511 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/goto/admin/systems/goto/class_workstationGeneric.inc b/gosa-plugins/goto/admin/systems/goto/class_workstationGeneric.inc index 1c834f9ba..8cd65f1d7 100644 --- a/gosa-plugins/goto/admin/systems/goto/class_workstationGeneric.inc +++ b/gosa-plugins/goto/admin/systems/goto/class_workstationGeneric.inc @@ -24,6 +24,7 @@ class workgeneric extends plugin var $gotoLastUser= "-"; var $FAIscript= ""; var $view_logged = FALSE; + var $auto_activate= FALSE; /* Needed values and lists */ var $base= ""; @@ -494,7 +495,7 @@ class workgeneric extends plugin $activate= (isset($this->saved_attributes['gotoMode']) && $this->gotoMode != $this->saved_attributes['gotoMode'] && $this->gotoMode == "active" && - tests::is_ip($this->netConfigDNS->ipHostNumber)); + tests::is_ip($this->netConfigDNS->ipHostNumber)) || $this->auto_activate; plugin::save(); /* Strip out 'default' values */