From: hickert Date: Wed, 13 Feb 2008 06:54:50 +0000 (+0000) Subject: Updated plugin class X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b4517f3f06a0f04435fd4f889c04f946de8f3e45;p=gosa.git 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 --- 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);