From: hickert Date: Wed, 28 Apr 2010 11:59:21 +0000 (+0000) Subject: Updated class environment X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=6a27f6f6f828219273ebd23ba6b25737e8a76915;p=gosa.git Updated class environment -Allow to add printer while object is 'new'. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17906 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/goto/personal/environment/class_environment.inc b/gosa-plugins/goto/personal/environment/class_environment.inc index 68126bd48..204c721e6 100644 --- a/gosa-plugins/goto/personal/environment/class_environment.inc +++ b/gosa-plugins/goto/personal/environment/class_environment.inc @@ -923,6 +923,8 @@ class environment extends plugin $type = "AddUser"; }elseif(isset($this->NewDeletedPrinters[$pname])){ $type = "AddUser"; + }elseif($this->dn == "new"){ + $type = "AddUser"; }elseif($printerObj->by_object['printgeneric']->AddMember("AddUser",$this->dn)){ $type = "AddUser"; }