summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6c90602)
raw | patch | inline | side by side (parent: 6c90602)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 6 Mar 2008 15:29:52 +0000 (15:29 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 6 Mar 2008 15:29:52 +0000 (15:29 +0000) |
If a server is removed, all entries in the gosa-si (gosaDaemonQueue) will be removed too.
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9396 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9396 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/systems/admin/systems/class_servGeneric.inc | patch | blob | history |
diff --git a/gosa-plugins/systems/admin/systems/class_servGeneric.inc b/gosa-plugins/systems/admin/systems/class_servGeneric.inc
index 5ae7ad3121bbf5e25d3f49f2d00237823820cf46..f3ad76fad63d81014b6552c60dc1257811a6c4fd 100644 (file)
unset($og->member[$this->dn]);
$og->save ();
}
+
+ /* Clean queue form entries with this mac
+ */
+ if(class_available("gosaSupportDaemon") && tests::is_mac($this->netConfigDNS->orig_macAddress)){
+ $q = new gosaSupportDaemon();
+ $q->clean_queue_from_mac($this->netConfigDNS->orig_macAddress);
+ }
$this->handle_post_events("remove",array("macAddress" => $this->netConfigDNS->macAddress,"ipHostNumber" => $this->netConfigDNS->ipHostNumber));
}