Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
domainepublic
alternc
Commits
3dc608d3
Commit
3dc608d3
authored
Aug 25, 2012
by
Alan Garcia
Browse files
Oook
parent
d4be305c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/mail_deletion.sh
View file @
3dc608d3
...
...
@@ -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 a.id != m.address_id;"
mysql_query
"DELETE FROM a
USING
address a, mailbox m WHERE
(
a.mail_action='DELETE' OR a.mail_action='DELETING'
)
AND a.id != m.address_id;"
# Delete the lock
rm
-f
"
$LOCK_FILE
"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment