From 93f061f78a8b914a731838058a38354a62d002de Mon Sep 17 00:00:00 2001 From: redmatrix Date: Thu, 15 Oct 2015 18:52:04 -0700 Subject: mail sync/migrate continued; also abstract delivery loop to make it re-usable, change refresh_all to use delivery loop. --- include/import.php | 9 --------- 1 file changed, 9 deletions(-) (limited to 'include/import.php') diff --git a/include/import.php b/include/import.php index 1734bd263..c90b05ec0 100644 --- a/include/import.php +++ b/include/import.php @@ -849,15 +849,6 @@ function import_mail($channel,$mails) { if(! $m) continue; - if($mail['conv_guid']) { - $x = q("select id from conv where guid = '%s' and uid = %d limit 1", - dbesc($mail['conv_guid']), - intval($channel['channel_id']) - ); - if($x) { - $m['convid'] = $x[0]['id']; - } - } $m['aid'] = $channel['channel_account_id']; $m['uid'] = $channel['channel_id']; mail_store($m); -- cgit v1.2.3