From 6a27f6f6f828219273ebd23ba6b25737e8a76915 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 28 Apr 2010 11:59:21 +0000 Subject: [PATCH] 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 --- gosa-plugins/goto/personal/environment/class_environment.inc | 2 ++ 1 file changed, 2 insertions(+) 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"; } -- 2.30.2