]> git.donarmstrong.com Git - roundcube.git/blobdiff - program/steps/addressbook/copy.inc
Imported Upstream version 0.1~rc2
[roundcube.git] / program / steps / addressbook / copy.inc
index e6d917e92bd651ea7f7b3895a83cdb74ba8b6300..af8b87c40218eee6741d73568a714ea1d9750e59 100644 (file)
@@ -36,8 +36,11 @@ if ($cid && preg_match('/^[a-z0-9\-_=]+(,[a-z0-9\-_=]+)*$/i', $cid) && strlen($t
     $OUTPUT->show_message('copyerror', 'error');
   else
     $OUTPUT->show_message('copysuccess', 'notice', array('nr' => count($success)));
+    
+  // close connection to second address directory
+  $TARGET->close();
 }
-  
+
 // send response
 $OUTPUT->send();