[geeklog-cvs] geeklog-1.3/public_html users.php,1.50,1.51

dhaun at geeklog.net dhaun at geeklog.net
Sun Jan 12 12:37:27 EST 2003


Update of /usr/cvs/geeklog/geeklog-1.3/public_html
In directory internal.geeklog.net:/tmp/cvs-serv3825

Modified Files:
	users.php 
Log Message:
The new user notification email was always sent out, i.e. it did not matter
whether 'user' was listed in $_CONF['notification'] or not ...


Index: users.php
===================================================================
RCS file: /usr/cvs/geeklog/geeklog-1.3/public_html/users.php,v
retrieving revision 1.50
retrieving revision 1.51
diff -C2 -d -r1.50 -r1.51
*** users.php	9 Jan 2003 19:33:02 -0000	1.50
--- users.php	12 Jan 2003 17:37:23 -0000	1.51
***************
*** 428,436 ****
                      $msg = 1;
                  }
!                 sendNotification ($username, $email, $uid, $queueUser);
              } else {
                  emailpassword($username, 1);
                  $msg = 1;
!                 sendNotification ($username, $email, $uid, false);
              }
              DB_change($_TABLES['usercomment'],'commentmode',$_CONF['comment_mode'],'uid',$uid);
--- 428,440 ----
                      $msg = 1;
                  }
!                 if (isset ($_CONF['notification']) && in_array ('user', $_CONF['notification'])) {
!                     sendNotification ($username, $email, $uid, $queueUser);
!                 }
              } else {
                  emailpassword($username, 1);
                  $msg = 1;
!                 if (isset ($_CONF['notification']) && in_array ('user', $_CONF['notification'])) {
!                     sendNotification ($username, $email, $uid, false);
!                 }
              }
              DB_change($_TABLES['usercomment'],'commentmode',$_CONF['comment_mode'],'uid',$uid);





More information about the geeklog-cvs mailing list