From 3e2fb1877a25bb0610cd125f891900d6c80e3a8a Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Jacob?= Date: Thu, 2 Dec 2010 15:18:56 +0100 Subject: [PATCH] Do not notify death to a deceased user (Closes #1354). MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Jacob --- bin/cron/profile_modification.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/cron/profile_modification.php b/bin/cron/profile_modification.php index 252e392..ef7cbdf 100755 --- a/bin/cron/profile_modification.php +++ b/bin/cron/profile_modification.php @@ -31,7 +31,7 @@ $res = XDB::iterator('SELECT p.hrpid, pm.pid, a.full_name, pm.field, pm.oldText INNER JOIN profile_display AS pd ON (pm.pid = pd.pid) INNER JOIN account_profiles AS ap ON (pm.pid = ap.pid AND FIND_IN_SET(\'owner\', ap.perms)) INNER JOIN aliases AS al ON (ap.uid = al.uid AND FIND_IN_SET(\'bestalias\', al.flags)) - WHERE pm.type = \'third_party\' + WHERE pm.type = \'third_party\' AND pm.field != \'deathdate\' ORDER BY pm.pid, pm.field, pm.timestamp'); if ($res->total() > 0) { -- 2.1.4