enotify: localize things we know how to translate

This commit is contained in:
friendica
2013-08-05 17:32:33 -07:00
parent c86dfd2e0c
commit c965ed2bb6
4 changed files with 15 additions and 9 deletions

View File

@@ -317,7 +317,7 @@ function contact_remove($channel_id, $abook_id) {
intval($channel_id)
);
$r = q("delete from mail where ( from_xchan = '%s' or to_xchan = '%s' ) and uid = %d ",
$r = q("delete from mail where ( from_xchan = '%s' or to_xchan = '%s' ) and channel_id = %d ",
dbesc($abook['abook_xchan']),
dbesc($abook['abook_xchan']),
intval($channel_id)