summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f2b1349)
raw | patch | inline | side by side (parent: f2b1349)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 11 Nov 2008 12:07:55 +0000 (12:07 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 11 Nov 2008 12:07:55 +0000 (12:07 +0000) |
-Avoid removing non GOsa account.
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13004 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13004 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/plugins/personal/generic/class_user.inc | patch | blob | history |
diff --git a/gosa-core/plugins/personal/generic/class_user.inc b/gosa-core/plugins/personal/generic/class_user.inc
index ec47df24bc88f569085145d5e6addfac898eefa1..516eddb8263d33ef7a51f9bbbdefaa07493d0cd5 100644 (file)
/* remove object from parent */
function remove_from_parent()
{
+ /* Only remove valid accounts */
+ if(!$this->initially_was_account) return;
+
/* Remove password extension */
$temp= passwordMethod::get_available_methods();