From b4517f3f06a0f04435fd4f889c04f946de8f3e45 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 13 Feb 2008 06:54:50 +0000 Subject: [PATCH] Updated plugin class -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 --- gosa-core/include/class_plugin.inc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gosa-core/include/class_plugin.inc b/gosa-core/include/class_plugin.inc index 5fb9fbe2c..e33b2ec61 100644 --- a/gosa-core/include/class_plugin.inc +++ b/gosa-core/include/class_plugin.inc @@ -855,6 +855,11 @@ class plugin 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); -- 2.30.2