summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 988dd63)
raw | patch | inline | side by side (parent: 988dd63)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 13 Feb 2008 06:54:50 +0000 (06:54 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 13 Feb 2008 06:54:50 +0000 (06:54 +0000) |
-Skip move, if source and destination dns only differ in upper/lowercase.
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8881 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8881 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_plugin.inc | patch | blob | history |
index 5fb9fbe2c0d6a033cc0c92a034a5cdfdf95f8303..e33b2ec613feebaad84cdcd40bb6e3b1060ac42f 100644 (file)
function move($src_dn, $dst_dn)
{
+ /* Do not copy if only upper- lowercase has changed */
+ if(strtolower($src_dn) == strtolower($dst_dn)){
+ return(TRUE);
+ }
+
/* Copy source to destination */
if (!$this->copy($src_dn, $dst_dn)){
return (FALSE);