summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 868d0d2)
raw | patch | inline | side by side (parent: 868d0d2)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 8 Jun 2006 10:30:40 +0000 (10:30 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 8 Jun 2006 10:30:40 +0000 (10:30 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3712 594d385d-05f5-0310-b6e9-bd551577e9d8
13 files changed:
diff --git a/plugins/admin/systems/class_goCupsServer.inc b/plugins/admin/systems/class_goCupsServer.inc
index 924519abf698f7090e5134a91017b7c70afd36b4..47fc45dbc75b71820e5dadc8262b3b6874fde8db 100644 (file)
$ldap->add($this->attrs);
}
show_ldap_error($ldap->get_error());
+ $this->handle_post_events("remove");
}
$ldap->cd($this->dn);
$ldap->add($this->attrs);
}
+ if($this->initially_was_account){
+ $this->handle_post_events("modify");
+ }else{
+ $this->handle_post_events("add");
+ }
+
show_ldap_error($ldap->get_error());
}
diff --git a/plugins/admin/systems/class_goFaxServer.inc b/plugins/admin/systems/class_goFaxServer.inc
index d8333160679e534dafafb2a591e593375ad288c9..934bc6c095282c17d01f125fdc955ae0c5e065b5 100644 (file)
$ldap->add($this->attrs);
}
show_ldap_error($ldap->get_error());
+ $this->handle_post_events("remove");
}
$ldap->cd($this->dn);
$ldap->add($this->attrs);
}
+ if($this->initially_was_account){
+ $this->handle_post_events("modify");
+ }else{
+ $this->handle_post_events("add");
+ }
show_ldap_error($ldap->get_error());
}
diff --git a/plugins/admin/systems/class_goFonServer.inc b/plugins/admin/systems/class_goFonServer.inc
index e420801791c7637859c105c0c0e190139b35bd6a..4d0fca755371dbb77d4f5f08509c920509a1c754 100644 (file)
$ldap->add($this->attrs);
}
show_ldap_error($ldap->get_error());
+ $this->handle_post_events("remove");
}
$ldap->add($this->attrs);
}
show_ldap_error($ldap->get_error());
+ if($this->initially_was_account){
+ $this->handle_post_events("modify");
+ }else{
+ $this->handle_post_events("add");
+ }
}
diff --git a/plugins/admin/systems/class_goGlpiServer.inc b/plugins/admin/systems/class_goGlpiServer.inc
index 7491ea64097012399af6df4a1b301aedc8f89657..14938f41d7d3b04022a8da9f4535169e7ab2719d 100644 (file)
$ldap->add($this->attrs);
}
show_ldap_error($ldap->get_error());
+ $this->handle_post_events("remove");
}
$ldap->add($this->attrs);
}
show_ldap_error($ldap->get_error());
+ if($this->initially_was_account){
+ $this->handle_post_events("modify");
+ }else{
+ $this->handle_post_events("add");
+ }
}
diff --git a/plugins/admin/systems/class_goImapServer.inc b/plugins/admin/systems/class_goImapServer.inc
index 8ad0d12dacf1c381b97b36cbdfef7d87c27ca084..1ae6556b9ebff97b2895ef02a8f850cdd6d1be22 100644 (file)
$ldap->add($this->attrs);
}
show_ldap_error($ldap->get_error());
+ $this->handle_post_events("remove");
}
function save()
$ldap->add($this->attrs);
}
show_ldap_error($ldap->get_error());
+ if($this->initially_was_account){
+ $this->handle_post_events("modify");
+ }else{
+ $this->handle_post_events("add");
+ }
+
}
diff --git a/plugins/admin/systems/class_goKrbServer.inc b/plugins/admin/systems/class_goKrbServer.inc
index e5beef1250719eacbd6e3f06888602a497b57cce..5c96c33629586ec8a08a29e62a7b34789cf4c7b6 100644 (file)
$ldap->add($this->attrs);
}
show_ldap_error($ldap->get_error());
+ $this->handle_post_events("remove");
}
$ldap->add($this->attrs);
}
show_ldap_error($ldap->get_error());
+ if($this->initially_was_account){
+ $this->handle_post_events("modify");
+ }else{
+ $this->handle_post_events("add");
+ }
}
diff --git a/plugins/admin/systems/class_goLdapServer.inc b/plugins/admin/systems/class_goLdapServer.inc
index ce2e2c77b77fd1d1699d8d21aeef9c294b8cd375..888483dfbc5b87881b64f79d087c1cf4f7feffe5 100644 (file)
$ldap->add($this->attrs);
}
show_ldap_error($ldap->get_error());
+ $this->handle_post_events("remove");
}
$ldap->add($this->attrs);
}
show_ldap_error($ldap->get_error());
+ if($this->initially_was_account){
+ $this->handle_post_events("modify");
+ }else{
+ $this->handle_post_events("add");
+ }
+
}
diff --git a/plugins/admin/systems/class_goLogDBServer.inc b/plugins/admin/systems/class_goLogDBServer.inc
index 6c0ab3a567b1cf42597b74f1451d436c36620b62..254abe369660ae282d0d7b9475f1ee49f55dce00 100644 (file)
$ldap->add($this->attrs);
}
show_ldap_error($ldap->get_error());
+ $this->handle_post_events("remove");
}
$ldap->add($this->attrs);
}
show_ldap_error($ldap->get_error());
+ if($this->initially_was_account){
+ $this->handle_post_events("modify");
+ }else{
+ $this->handle_post_events("add");
+ }
}
diff --git a/plugins/admin/systems/class_goMailServer.inc b/plugins/admin/systems/class_goMailServer.inc
index bb0a9347a27d93745c08fc59998de6b18f5c6dd4..c8007515121b5548def92c9778e57766ce466dea 100644 (file)
$ldap->add($this->attrs);
}
show_ldap_error($ldap->get_error());
+ $this->handle_post_events("remove");
}
$ldap->add($this->attrs);
}
show_ldap_error($ldap->get_error());
+ if($this->initially_was_account){
+ $this->handle_post_events("modify");
+ }else{
+ $this->handle_post_events("add");
+ }
+
}
diff --git a/plugins/admin/systems/class_goNtpServer.inc b/plugins/admin/systems/class_goNtpServer.inc
index 3f423dea7a7b84b892ccd4581c34957f7b7252f5..21bab42762ab4def6e20dde441f7dab6632511a2 100644 (file)
$ldap->add($this->attrs);
}
show_ldap_error($ldap->get_error());
+ $this->handle_post_events("remove");
}
$ldap->add($this->attrs);
}
show_ldap_error($ldap->get_error());
+ if($this->initially_was_account){
+ $this->handle_post_events("modify");
+ }else{
+ $this->handle_post_events("add");
+ }
}
diff --git a/plugins/admin/systems/class_goShareServer.inc b/plugins/admin/systems/class_goShareServer.inc
index ac6c5408b14e6a273e57a7cbd18b58bae3c96b0b..010c18cadbe3c5e9e2fb408e01c1af4c8b45aabc 100644 (file)
$ldap->add($this->attrs);
}
show_ldap_error($ldap->get_error());
+ $this->handle_post_events("remove");
}
$ldap->add($this->attrs);
}
show_ldap_error($ldap->get_error());
+ if($this->initially_was_account){
+ $this->handle_post_events("modify");
+ }else{
+ $this->handle_post_events("add");
+ }
}
diff --git a/plugins/admin/systems/class_goSyslogServer.inc b/plugins/admin/systems/class_goSyslogServer.inc
index 8011baff64aef4d837c836156f6e625e9a808e87..3ef9c860f4eb8737df08c21de6c496f6968121c5 100644 (file)
$ldap->add($this->attrs);
}
show_ldap_error($ldap->get_error());
+ $this->handle_post_events("remove");
}
$ldap->add($this->attrs);
}
show_ldap_error($ldap->get_error());
+ if($this->initially_was_account){
+ $this->handle_post_events("modify");
+ }else{
+ $this->handle_post_events("add");
+ }
}
diff --git a/plugins/admin/systems/class_goTerminalServer.inc b/plugins/admin/systems/class_goTerminalServer.inc
index 3ddc52c8e41359f55fbec7d51acf9a24b40df1d8..86e2bd8205fe09ccba9ae4861d6108bf1fd61c21 100644 (file)
$ldap->add($this->attrs);
}
show_ldap_error($ldap->get_error());
+ $this->handle_post_events("remove");
}
$ldap->add($this->attrs);
}
show_ldap_error($ldap->get_error());
+ if($this->initially_was_account){
+ $this->handle_post_events("modify");
+ }else{
+ $this->handle_post_events("add");
+ }
}