summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e5ca245)
raw | patch | inline | side by side (parent: e5ca245)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 17 Jun 2008 12:13:34 +0000 (12:13 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 17 Jun 2008 12:13:34 +0000 (12:13 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11349 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/systems/admin/systems/class_systemManagement.inc | patch | blob | history | |
gosa-plugins/systems/admin/systems/class_termDNS.inc | patch | blob | history |
diff --git a/gosa-plugins/systems/admin/systems/class_systemManagement.inc b/gosa-plugins/systems/admin/systems/class_systemManagement.inc
index 09bcfd24c07d5e8c0465235e26278df8763ecfcb..ba4055ea0e1757d68865da81adced491add4c3d1 100644 (file)
*/
if(class_available("gosaSupportDaemon")){
$o = new gosaSupportDaemon();
- $this->si_active = $o->connect();
+ $this->si_active = $o->connect() && class_available("DaemonEvent");
}
}
$this->dns = array();
$ids = $this->list_get_selected_items();
- if(count($ids)){
+ if(count($ids) && class_available("DaemonEvent")){
$mac= array();
$ldap = $this->config->get_ldap_link();
}
/* Insert scheduled events into queue */
- if($this->systab instanceof DaemonEvent){
+ if(class_available("DaemonEvent") && $this->systab instanceof DaemonEvent){
$this->systab->save_object();
/* Save event
diff --git a/gosa-plugins/systems/admin/systems/class_termDNS.inc b/gosa-plugins/systems/admin/systems/class_termDNS.inc
index b954e75ef0d4d534ad96047e88a877bbb69a0555..b03088a1bd18142a30627306170b58e63cdb6a2b 100644 (file)
function remove_from_parent()
{
- if($this->initially_was_account){
+ if($this->DNS_is_account){
$ldap = $this->config->get_ldap_link();