phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] admin class.admin.php,1.1.1.1,1.1.1.1.2.1


From: Joseph Engo <address@hidden>
Subject: [Phpgroupware-cvs] admin class.admin.php,1.1.1.1,1.1.1.1.2.1
Date: Thu, 23 Oct 2003 20:37:30 +0000

Update of /cvsroot/phpgroupware/admin
In directory subversions:/tmp/cvs-serv12404

Modified Files:
      Tag: proposal-branch
        class.admin.php 
Log Message:
Fixed a parse error


Index: class.admin.php
===================================================================
RCS file: /cvsroot/phpgroupware/admin/class.admin.php,v
retrieving revision 1.1.1.1
retrieving revision 1.1.1.1.2.1
diff -C2 -d -r1.1.1.1 -r1.1.1.1.2.1
*** class.admin.php     23 Oct 2003 07:27:18 -0000      1.1.1.1
--- class.admin.php     23 Oct 2003 20:37:28 -0000      1.1.1.1.2.1
***************
*** 6,16 ****
        * Copyright (C) 2003 Dan Kuykendall                                     
   *
        * 
-------------------------------------------------------------------------*
!   * This program is free software; you can redistribute it and/or modify it  *
!   * under the terms of the GNU General Public License as published by the    *
!   * Free Software Foundation; either version 2 of the License, or (at your   *
!   * option) any later version.                                               *
        
\**************************************************************************/
  
        /* $Id$ */
  
        class admin_admin
--- 6,17 ----
        * Copyright (C) 2003 Dan Kuykendall                                     
   *
        * 
-------------------------------------------------------------------------*
!       * This program is free software; you can redistribute it and/or modify 
it  *
!       * under the terms of the GNU General Public License as published by the 
   *
!       * Free Software Foundation; either version 2 of the License, or (at 
your   *
!       * option) any later version.                                            
   *
        
\**************************************************************************/
  
        /* $Id$ */
+       /* $Source$ */
  
        class admin_admin
***************
*** 26,38 ****
                        $args = $args->get(func_get_args(),__LINE__,__FILE__);
  
!                       if(isset($args['username'])
                        {
!                               $account_info['account_lid'] = 
$args['username'];
!                               $account_info['account_passwd'] = 
$args['passwd'];
                                $account_info['account_firstname'] = 
$args['fname'];
!                               $account_info['account_lastname'] = 
$args['lname'];
!                               $account_info['account_type'] = 'u';
!                               $account_info['account_status'] = 'A';
!                               $account_info['account_expires'] = mktime 
(0,0,0,12,31,2005);
                                $newid = 
$GLOBALS['phpgw']->accounts->create($account_info);
                                if($newid === False)
--- 27,39 ----
                        $args = $args->get(func_get_args(),__LINE__,__FILE__);
  
!                       if (isset($args['username']))
                        {
!                               $account_info['account_lid']       = 
$args['username'];
!                               $account_info['account_passwd']    = 
$args['passwd'];
                                $account_info['account_firstname'] = 
$args['fname'];
!                               $account_info['account_lastname']  = 
$args['lname'];
!                               $account_info['account_type']      = 'u';
!                               $account_info['account_status']    = 'A';
!                               $account_info['account_expires']   = mktime 
(0,0,0,12,31,2005);
                                $newid = 
$GLOBALS['phpgw']->accounts->create($account_info);
                                if($newid === False)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]