summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8c091c8)
raw | patch | inline | side by side (parent: 8c091c8)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 6 Mar 2008 15:31:16 +0000 (15:31 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 6 Mar 2008 15:31:16 +0000 (15:31 +0000) |
If a ws/term is removed, all entries in the gosa-si (gosaDaemonQueue) will be removed too.
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9397 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9397 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/goto/admin/systems/goto/class_terminalGeneric.inc | patch | blob | history | |
gosa-plugins/goto/admin/systems/goto/class_workstationGeneric.inc | patch | blob | history |
diff --git a/gosa-plugins/goto/admin/systems/goto/class_terminalGeneric.inc b/gosa-plugins/goto/admin/systems/goto/class_terminalGeneric.inc
index d71ad919692f70c82c77c2bf569960e1929ea666..5d1f47366207fbafeee63989a5c06f3167e34046 100644 (file)
$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);
+ }
}
}
diff --git a/gosa-plugins/goto/admin/systems/goto/class_workstationGeneric.inc b/gosa-plugins/goto/admin/systems/goto/class_workstationGeneric.inc
index 7cad284b479e3e012c6175ffc065df79521aed57..a103b807b0789f7a8dc0da76f7ca2bcbf4388be4 100644 (file)
}
}
+ /* 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);
+ }
+
if(isset($_POST["inheritAll"])){
$this->set_everything_to_inherited();
}