Commit 3dc608d3 authored by Alan Garcia's avatar Alan Garcia
Browse files


parent d4be305c
......@@ -63,7 +63,7 @@ done
# List the adresses to DELETE
# Delete if only if there isn't any mailbox refering to it
mysql_query "DELETE FROM a using address a, mailbox m WHERE a.mail_action='DELETE' OR a.mail_action='DELETING' AND != m.address_id;"
mysql_query "DELETE FROM a USING address a, mailbox m WHERE (a.mail_action='DELETE' OR a.mail_action='DELETING') AND != m.address_id;"
# Delete the lock
rm -f "$LOCK_FILE"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment