summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8350893)
raw | patch | inline | side by side (parent: 8350893)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 28 Apr 2010 11:59:21 +0000 (11:59 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 28 Apr 2010 11:59:21 +0000 (11:59 +0000) |
-Allow to add printer while object is 'new'.
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17906 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17906 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/goto/personal/environment/class_environment.inc | patch | blob | history |
diff --git a/gosa-plugins/goto/personal/environment/class_environment.inc b/gosa-plugins/goto/personal/environment/class_environment.inc
index 68126bd48833d9c90e62d914097887ac2706352d..204c721e65d04413d8903341abac141bcd5d6a70 100644 (file)
$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";
}