[geeklog-cvs] geeklog: Include information about the remote service used (if a...

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Sat Mar 21 18:35:31 EDT 2009


details:   http://project.geeklog.net/cgi-bin/hgweb.cgi/rev/a8037a55dbd6
changeset: 6847:a8037a55dbd6
user:      Dirk Haun <dirk at haun-online.de>
date:      Sat Mar 21 19:09:10 2009 +0100
description:
Include information about the remote service used (if any) in the notification email about new user submissions

diffstat:

2 files changed, 5 insertions(+), 1 deletion(-)
public_html/docs/history |    2 ++
system/lib-user.php      |    4 +++-

diffs (26 lines):

diff -r ec56b7a42fbc -r a8037a55dbd6 public_html/docs/history
--- a/public_html/docs/history	Sat Mar 21 16:45:41 2009 +0100
+++ b/public_html/docs/history	Sat Mar 21 19:09:10 2009 +0100
@@ -11,6 +11,8 @@
 + (TBD) Comment moderation and editable comments, by Jared Wenerd
 
 Other changes:
+- The notification email about new user submissions didn't include information
+  about the remote service used (if any) [Dirk]
 - Define {xmlns} when using XHTML for XHTML compliance. Updated header.thtml
   and article/printable.thtml template files to include that variable [Dirk]
 - Fixed wrong use of '&' when sending a trackback (bug #0000825)
diff -r ec56b7a42fbc -r a8037a55dbd6 system/lib-user.php
--- a/system/lib-user.php	Sat Mar 21 16:45:41 2009 +0100
+++ b/system/lib-user.php	Sat Mar 21 19:09:10 2009 +0100
@@ -331,7 +331,9 @@
         } else {
             $mode = 'active';
         }
-        USER_sendNotification ($username, $email, $uid, $mode);
+        $username = COM_getDisplayName($uid, $username, $fullname,
+                                       $remoteusername, $service);
+        USER_sendNotification($username, $email, $uid, $mode);
     }
 
     return $uid;



More information about the geeklog-cvs mailing list