summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 468b2bb)
raw | patch | inline | side by side (parent: 468b2bb)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 3 Apr 2008 12:52:11 +0000 (12:52 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 3 Apr 2008 12:52:11 +0000 (12:52 +0000) |
-Removed Special tabs, because this tabs can't save their data if this object is inherited from an earlier release.
it does not exists in this case.
-Fixed ldap errors.
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10146 594d385d-05f5-0310-b6e9-bd551577e9d8
it does not exists in this case.
-Fixed ldap errors.
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10146 594d385d-05f5-0310-b6e9-bd551577e9d8
14 files changed:
diff --git a/gosa-plugins/fai/admin/fai/class_faiHook.inc b/gosa-plugins/fai/admin/fai/class_faiHook.inc
index d509e4a278d9dc88151100d4afc4f050888a11eb..82e14b4a869b5a62c337161612535e1aa9758c5c 100644 (file)
$ldap = $this->config->get_ldap_link();
FAI::prepare_to_save_FAI_object($this->dn,$this->attrs);
- if (!$ldap->success()){
- msg_dialog::display(_("LDAP error"), msgPool::ldaperror($ldap->get_error(), $this->dn, 0, get_class()));
- }
if($this->initially_was_account){
new log("modify","fai/".get_class($this),$this->dn,$this->attributes);
diff --git a/gosa-plugins/fai/admin/fai/class_faiPackage.inc b/gosa-plugins/fai/admin/fai/class_faiPackage.inc
index d76d2dd78824ab3f3af4ee5214a17708b1e99ad7..075d80072cd1d10b90dac6ad6c1ee53d1f7189d1 100644 (file)
}
FAI::prepare_to_save_FAI_object($this->dn,$this->attrs);
- if (!$ldap->success()){
- msg_dialog::display(_("LDAP error"), msgPool::ldaperror($ldap->get_error(), $this->dn, 0, get_class()));
- }
if($this->initially_was_account){
new log("modify","fai/".get_class($this),$this->dn,$this->attributes);
diff --git a/gosa-plugins/fai/admin/fai/class_faiPartitionTable.inc b/gosa-plugins/fai/admin/fai/class_faiPartitionTable.inc
index 161deb2c56bdace1c7877eeaa18f4ec1e5448ca9..2ef87bc1f8d696f5b36d15561f951df0bcbafd6e 100644 (file)
$ldap = $this->config->get_ldap_link();
FAI::prepare_to_save_FAI_object($this->dn,$this->attrs);
- if (!$ldap->success()){
- msg_dialog::display(_("LDAP error"), msgPool::ldaperror($ldap->get_error(), $this->dn, 0, get_class()));
- }
if($this->initially_was_account){
new log("modify","fai/".get_class($this),$this->dn,$this->attributes);
diff --git a/gosa-plugins/fai/admin/fai/class_faiProfile.inc b/gosa-plugins/fai/admin/fai/class_faiProfile.inc
index 4eec15fa08e45db57e0560f2c280062199e93306..9fb9ae0f7272e50e21d773c686c5f078333de1a3 100644 (file)
}else{
new log("create","fai/".get_class($this),$this->dn,$this->attributes);
}
-
- if (!$ldap->success()){
- msg_dialog::display(_("LDAP error"), msgPool::ldaperror($ldap->get_error(), $this->dn, 0, get_class()));
- }
}
diff --git a/gosa-plugins/fai/admin/fai/class_faiScript.inc b/gosa-plugins/fai/admin/fai/class_faiScript.inc
index ce8a710a4f6ae59f2dd49e004811aae98a799996..331ca3799ca77faf0c112dba4ec709dd1d454202 100644 (file)
$ldap = $this->config->get_ldap_link();
FAI::prepare_to_save_FAI_object($this->dn,$this->attrs);
- if (!$ldap->success()){
- msg_dialog::display(_("LDAP error"), msgPool::ldaperror($ldap->get_error(), $this->dn, 0, get_class()));
- }
if($this->initially_was_account){
new log("modify","fai/".get_class($this),$this->dn,$this->attributes);
diff --git a/gosa-plugins/fai/admin/fai/class_faiTemplate.inc b/gosa-plugins/fai/admin/fai/class_faiTemplate.inc
index 23f43c33e871d2848f5afb4f604b45b27a4112a6..0fdd00ed4501e00306374b2fe785753254ed43b0 100644 (file)
$ldap = $this->config->get_ldap_link();
FAI::prepare_to_save_FAI_object($this->dn,$this->attrs);
- if (!$ldap->success()){
- msg_dialog::display(_("LDAP error"), msgPool::ldaperror($ldap->get_error(), $this->dn, 0, get_class()));
- }
if($this->initially_was_account){
new log("modify","fai/".get_class($this),$this->dn,$this->attributes);
diff --git a/gosa-plugins/fai/admin/fai/class_faiVariable.inc b/gosa-plugins/fai/admin/fai/class_faiVariable.inc
index e13a8f38bfcd64c87972840442481ff34f2f9b17..1c819c09641bd1b0bc31347de38548201ae4dcbd 100644 (file)
$ldap = $this->config->get_ldap_link();
FAI::prepare_to_save_FAI_object($this->dn,$this->attrs);
- if (!$ldap->success()){
- msg_dialog::display(_("LDAP error"), msgPool::ldaperror($ldap->get_error(), $this->dn, 0, get_class()));
- }
if($this->initially_was_account){
new log("modify","fai/".get_class($this),$this->dn,$this->attributes);
index bf4709073631d29eb91e816d0716096663fead5e..ad41dbdf84e1e1aea0e284e3b2877faccba40243 100644 (file)
{
tabs::tabs($config, $data, $dn,$category);
/* Add references/acls/snapshots */
- $this->addSpecialTabs();
+# $this->addSpecialTabs();
}
function check($ignore_account= FALSE)
diff --git a/gosa-plugins/fai/admin/fai/tabsPackage.inc b/gosa-plugins/fai/admin/fai/tabsPackage.inc
index 94dca4e2001ff51633b077804d06ff91e1ba1cab..197f86370caf39ce737a247e10cbf2c0e90bd435 100644 (file)
tabs::tabs($config, $data, $dn,$category);
/* Add references/acls/snapshots */
- $this->addSpecialTabs();
+# $this->addSpecialTabs();
}
function check($ignore_account= FALSE)
diff --git a/gosa-plugins/fai/admin/fai/tabsPartition.inc b/gosa-plugins/fai/admin/fai/tabsPartition.inc
index 9d409e6c73090f429d6641a3ff07b1c348fdd03b..b1aab1e09bbf2a946996d0497beb9d6f7ff2356c 100644 (file)
tabs::tabs($config, $data, $dn,$category);
/* Add references/acls/snapshots */
- $this->addSpecialTabs();
+# $this->addSpecialTabs();
}
function check($ignore_account= FALSE)
diff --git a/gosa-plugins/fai/admin/fai/tabsProfile.inc b/gosa-plugins/fai/admin/fai/tabsProfile.inc
index f67b22c0cf7c8aa6a231a0e998428e6640714ba3..64fc7025c1aa74b4d5773c0a5e8beb9edebbe6e0 100644 (file)
tabs::tabs($config, $data, $dn,$category);
/* Add references/acls/snapshots */
- $this->addSpecialTabs();
+# $this->addSpecialTabs();
}
function check($ignore_account= FALSE)
index eb283a2c64092b8eb47dea6e026efa5798732247..01cafc149cd0b38251ae2afd5f7100bb5d315aaf 100644 (file)
tabs::tabs($config, $data, $dn,$category);
/* Add references/acls/snapshots */
- $this->addSpecialTabs();
+# $this->addSpecialTabs();
}
function check($ignore_account= FALSE)
diff --git a/gosa-plugins/fai/admin/fai/tabsTemplate.inc b/gosa-plugins/fai/admin/fai/tabsTemplate.inc
index 8b1af36e39ab540a766b223941e7646bb00d91ee..3c8576e3c9a9e1a40a8fc4c974f13f1e77a4707a 100644 (file)
tabs::tabs($config, $data, $dn, $category);
/* Add references/acls/snapshots */
- $this->addSpecialTabs();
+# $this->addSpecialTabs();
}
function check($ignore_account= FALSE)
diff --git a/gosa-plugins/fai/admin/fai/tabsVariable.inc b/gosa-plugins/fai/admin/fai/tabsVariable.inc
index c0476577e8abcaa0f357125ba4855f8e6b46d2e2..0a4dcfbc6e9de0d95e4fd08beb81426354eefaf9 100644 (file)
tabs::tabs($config, $data, $dn, $category);
/* Add references/acls/snapshots */
- $this->addSpecialTabs();
+# $this->addSpecialTabs();
}
function check($ignore_account= FALSE)