1 # This is a BitKeeper generated diff -Nru style patch.
4 # 2005/02/22 09:53:19-06:00 bryan@mysql.com
5 # Release lock if connecting to mail server produces error.
8 # 2005/02/22 09:53:18-06:00 bryan@mysql.com +1 -0
9 # Release lock if connecting to mail server produces error.
11 # misc/download_emails.php
12 # 2005/02/22 09:53:18-06:00 bryan@mysql.com +1 -0
13 # Release lock if connecting to mail server produces error.
15 diff -Nru a/ChangeLog b/ChangeLog
16 --- a/ChangeLog 2005-02-27 05:35:39 -08:00
17 +++ b/ChangeLog 2005-02-27 05:35:39 -08:00
19 - Changed attachment handling to work with inline attachments (Bryan)
20 - Apply encoding fixes in more places (Elan Ruusamäe <glen@delfi.ee>)
21 - Silence console errors when adding new directory to CVS (Elan Ruusamäe <glen@delfi.ee>)
22 +- If there is an error connecting to mail server when downloading email, release lock (Bryan)
24 04 Jan 2005, Version 1.4
25 - Fixed the notification code to properly handle the condition in which the recipient type flag is empty (João)
26 diff -Nru a/misc/download_emails.php b/misc/download_emails.php
27 --- a/misc/download_emails.php 2005-02-27 05:35:39 -08:00
28 +++ b/misc/download_emails.php 2005-02-27 05:35:39 -08:00
30 $mbox = Support::connectEmailServer($account);
32 echo "Error: Could not connect to the email server. Please verify your email account settings and try again.\n";
33 + Lock::release('download_emails_' . $account_id);
36 $total_emails = Support::getTotalEmails($mbox);