summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9674d30)
raw | patch | inline | side by side (parent: 9674d30)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 30 Aug 2005 12:35:33 +0000 (12:35 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 30 Aug 2005 12:35:33 +0000 (12:35 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1266 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/systems/class_printGeneric.inc | patch | blob | history |
diff --git a/plugins/admin/systems/class_printGeneric.inc b/plugins/admin/systems/class_printGeneric.inc
index 211cec67fd5b8e602d20e2d1d09d497023dc7a20..18a8e1b9b3be50fc64b132bf422b44a1dac1201c 100644 (file)
{
$dn= $this->dn;
plugin::save();
+ $ldap= $this->config->get_ldap_link();
if((in_array("gotoTerminal",$this->attrs['objectClass']))){
$this->dn= preg_replace("/ou=terminal/","ou=printer",$this->dn);
}
-
+
if((in_array("gotoWorkstation",$this->attrs['objectClass']))){
$this->dn= preg_replace("/ou=workstation/","ou=printer",$this->dn);
}
- $ldap= $this->config->get_ldap_link();
-
/* We are currently editing a Terminal, so we want to save a seperate printer which cn is the terminla cn
*/
if($this->is_terminal){
}
return($a_return);
}
-
-
}