summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 10f8e62)
raw | patch | inline | side by side (parent: 10f8e62)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 8 Apr 2008 10:09:02 +0000 (10:09 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 8 Apr 2008 10:09:02 +0000 (10:09 +0000) |
- import_complete_ldif wasn't working anymore
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10276 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10276 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_ldap.inc | patch | blob | history | |
gosa-core/include/class_plugin.inc | patch | blob | history |
index f9843247043653dde90b65f6ab11e07cd6fd94dd..bfd429c529920d3c7fa9f55978a2682ea5446a20 100644 (file)
if JustMofify id false the destination dn will be overwritten by the new ldif.
*/
- function import_complete_ldif($srp, $str_attr,&$error,$JustModify,$DeleteOldEntries)
+ function import_complete_ldif($srp, $str_attr,$error,$JustModify,$DeleteOldEntries)
{
if($this->reconnect) $this->connect();
index 50f666f81b80659ca81e0291637847e1d350d0d7..047b218983372683ee6a609d473c5877163d40bd 100644 (file)
$data = gzuncompress($ldap_to->get_attribute($dn,'gosaSnapshotData'));
/* Import the given data */
+ $err = "";
$ldap->import_complete_ldif($data,$err,false,false);
if (!$ldap->success()){
msg_dialog::display(_("LDAP error"), msgPool::ldaperror($ldap->get_error(), $dn, "", get_class()));