[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: admin/inc class.boaccounts.inc.php,1.24,1.25
From: |
Dan Kuykendall <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: admin/inc class.boaccounts.inc.php,1.24,1.25 |
Date: |
Wed, 01 May 2002 19:55:54 -0400 |
Update of /cvsroot/phpgroupware/admin/inc
In directory subversions:/tmp/cvs-serv28311/admin/inc
Modified Files:
class.boaccounts.inc.php
Log Message:
updated hooks for add/delete accounts and update password
Index: class.boaccounts.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/admin/inc/class.boaccounts.inc.php,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -r1.24 -r1.25
*** class.boaccounts.inc.php 15 Feb 2002 04:16:35 -0000 1.24
--- class.boaccounts.inc.php 1 May 2002 23:55:51 -0000 1.25
***************
*** 152,155 ****
--- 152,158 ----
$GLOBALS['phpgw']->hooks->single('deleteaccount','admin');
+ $GLOBALS['hook_values']['account_id'] = $lid;
+
$GLOBALS['phpgw']->hooks->process('deleteaccount');
+
$basedir =
$GLOBALS['phpgw_info']['server']['files_dir'] . SEP . 'users' . SEP;
***************
*** 325,328 ****
--- 328,334 ----
{
$this->so->add_user($userData);
+ $GLOBALS['hook_values']['account_id'] =
$account_id;
+ $GLOBALS['hook_values']['new_passwd'] =
$userData['account_passwd'];
+
$GLOBALS['phpgw']->hooks->process('addaccount');
ExecMethod('admin.uiaccounts.list_users');
return False;
***************
*** 735,738 ****
--- 741,748 ----
$auth = CreateObject('phpgwapi.auth');
$auth->change_password($old_passwd,
$_userData['account_passwd'], $_userData['account_id']);
+ $GLOBALS['hook_values']['account_id'] =
$_userData['account_id'];
+ $GLOBALS['hook_values']['old_passwd'] =
$old_passwd;
+ $GLOBALS['hook_values']['new_passwd'] =
$_userData['account_passwd'];
+
$GLOBALS['phpgw']->hooks->process('changepassword');
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: admin/inc class.boaccounts.inc.php,1.24,1.25,
Dan Kuykendall <address@hidden> <=