projects
/
platal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce0d1dc
)
Improves display in weekly registration summary email.
author
Stéphane Jacob
<sj@m4x.org>
Thu, 7 Jul 2011 09:08:08 +0000
(11:08 +0200)
committer
Stéphane Jacob
<sj@m4x.org>
Thu, 7 Jul 2011 09:08:08 +0000
(11:08 +0200)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
bin/cron/registrations.php
patch
|
blob
|
blame
|
history
diff --git
a/bin/cron/registrations.php
b/bin/cron/registrations.php
index
a2c22dc
..
1866b89
100755
(executable)
--- a/
bin/cron/registrations.php
+++ b/
bin/cron/registrations.php
@@
-5,7
+5,7
@@
require 'connect.db.inc.php';
$message = '';
-$res = XDB::iterRow("SELECT
a.registration_date, a.hruid, s.email, GROUP_CONCAT(
r.redirect SEPARATOR ', ')
+$res = XDB::iterRow("SELECT
DATE(a.registration_date), a.hruid, GROUP_CONCAT(DISTINCT
r.redirect SEPARATOR ', ')
FROM accounts AS a
INNER JOIN account_profiles AS ap ON (ap.uid = a.uid AND FIND_IN_SET('owner', ap.perms))
INNER JOIN profile_display AS pd ON (ap.pid = pd.pid)