[geeklog-cvs] Geeklog-1.x/public_html/admin user.php,1.208,1.209

Blaine Lang blaine at qs1489.pair.com
Fri Aug 1 14:49:00 EDT 2008


Update of /cvsroot/geeklog/Geeklog-1.x/public_html/admin
In directory qs1489.pair.com:/tmp/cvs-serv97260

Modified Files:
	user.php 
Log Message:
Added optional parm to the CUSTOM_userCreate function that is used to detect being called from the Admin->user Batch Add feature vs the registration form 
Required a new parm to be added to function USER_createAccount()

Index: user.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/admin/user.php,v
retrieving revision 1.208
retrieving revision 1.209
diff -C2 -d -r1.208 -r1.209
*** user.php	8 Jul 2008 18:42:54 -0000	1.208
--- user.php	1 Aug 2008 18:48:58 -0000	1.209
***************
*** 1066,1072 ****
  
              if (($ucount == 0) && ($ecount == 0)) {
!                 // user doesn't already exist
                  $uid = USER_createAccount ($userName, $emailAddr, '',
!                                            $fullName);
  
                  $result = USER_createAndSendPassword ($userName, $emailAddr, $uid);
--- 1066,1072 ----
  
              if (($ucount == 0) && ($ecount == 0)) {
!                 // user doesn't already exist - pass in optional true for $batchimport parm
                  $uid = USER_createAccount ($userName, $emailAddr, '',
!                                            $fullName,'','','',true);
  
                  $result = USER_createAndSendPassword ($userName, $emailAddr, $uid);




More information about the geeklog-cvs mailing list