summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 84850a1)
raw | patch | inline | side by side (parent: 84850a1)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 9 Jun 2006 07:40:59 +0000 (07:40 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 9 Jun 2006 07:40:59 +0000 (07:40 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3739 594d385d-05f5-0310-b6e9-bd551577e9d8
include/class_ldap.inc | patch | blob | history |
diff --git a/include/class_ldap.inc b/include/class_ldap.inc
index b289ffe4dcc68a19b504fc538a6b2bc8125b0e27..7b82a8b327bf262cc2a9804681c47bfc3b71f7b4 100644 (file)
--- a/include/class_ldap.inc
+++ b/include/class_ldap.inc
@@ -1130,21 +1130,6 @@ function gen_xls ($dn, $filter= "(objectClass=*)", $attributes= array('*'), $rec
return $objectclasses;
}
- function create_snapshot($dn, $type= "snapshot", $description= "")
- {
- if ($this->dn_exists($dn) && $dn != ""){
- $data= preg_replace('/^dn:.*\n/', '', $this->gen_ldif($dn));
- $target= array();
- $target['objectClass']= array("top", "gosaObjectSnapshot");
- $target['gosaSnapshotData']= gzcompress($data, 6);
- $target['gosaSnapshotType']= $type;
- list($usec, $sec)= explode(" ", microtime());
- $target['gosaShapshotTimestamp']= preg_replace("/\./", "", $sec.$usec);
- $target['gosaShapshotDN']= $dn;
- print_a($target);
- }
- }
-
}
// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: