projects
/
platal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1ff3b4
)
Fixes SQL query in list deletion.
author
Stéphane Jacob
<sj@m4x.org>
Mon, 4 Apr 2011 14:10:09 +0000
(16:10 +0200)
committer
Stéphane Jacob
<sj@m4x.org>
Mon, 4 Apr 2011 14:10:09 +0000
(16:10 +0200)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
include/emails.inc.php
patch
|
blob
|
blame
|
history
diff --git
a/include/emails.inc.php
b/include/emails.inc.php
index
37653fd
..
b2ddb4b
100644
(file)
--- a/
include/emails.inc.php
+++ b/
include/emails.inc.php
@@
-147,8
+147,8
@@
function delete_list($local_part, $domain)
$redirect = $domain . '_' . $local_part . '+';
foreach(array('post', 'owner', 'admin', 'bounces', 'unsubscribe') as $suffix) {
- XDB::execute('DELETE email_virtual
- WHERE redirect = {?} AND type = \'list\'',
+ XDB::execute('DELETE
FROM
email_virtual
+
WHERE redirect = {?} AND type = \'list\'',
$redirect . $suffix . '@' . $globals->lists->redirect_domain);
}
}