summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7885271)
raw | patch | inline | side by side (parent: 7885271)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 19 May 2008 07:04:11 +0000 (07:04 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 19 May 2008 07:04:11 +0000 (07:04 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10942 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_plugin.inc | patch | blob | history |
index 440c1e801ed57174bcfc61f857b77cb95bf0d5e8..3765ed2d038cd79d69df3f66fcb801ce21560969 100644 (file)
/* Try to move the entry instead of copy & delete
-
- Currently still deactivated. !!
-
*/
if(TRUE){
- return($this->rename($src_dn, $dst_dn));
+
+ /* Try to move with ldap routines, if this was not successfull
+ fall back to the old style copy & remove method
+ */
+ if($this->rename($src_dn, $dst_dn)){
+ return(TRUE)
+ }else{
+ // See code below.
+ }
}
/* Copy source to destination */