summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9f75b61)
raw | patch | inline | side by side (parent: 9f75b61)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 11 Nov 2008 12:47:37 +0000 (12:47 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 11 Nov 2008 12:47:37 +0000 (12:47 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@13005 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/personal/generic/class_user.inc | patch | blob | history |
index 624ef38de48309b1343a4cdb972e972632cf1b02..9ee1fe167386d493d246de51a28c20a2b2362e30 100644 (file)
/* remove object from parent */
function remove_from_parent()
{
+ if(!$this->initially_was_account) return;
+
$ldap= $this->config->get_ldap_link();
$ldap->rmdir ($this->dn);
show_ldap_error($ldap->get_error(), _("Removing generic user account failed"));