[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.22.2.2,1.22
From: |
Joseph Engo <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: admin/inc class.boaccounts.inc.php,1.22.2.2,1.22.2.3 |
Date: |
Tue, 19 Mar 2002 14:09:53 -0500 |
Update of /cvsroot/phpgroupware/admin/inc
In directory subversions:/tmp/cvs-serv10425
Modified Files:
Tag: Version-0_9_14-branch
class.boaccounts.inc.php
Log Message:
Added hooks for edit and add account
Index: class.boaccounts.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/admin/inc/class.boaccounts.inc.php,v
retrieving revision 1.22.2.2
retrieving revision 1.22.2.3
diff -C2 -r1.22.2.2 -r1.22.2.3
*** class.boaccounts.inc.php 15 Feb 2002 04:16:46 -0000 1.22.2.2
--- class.boaccounts.inc.php 19 Mar 2002 19:09:51 -0000 1.22.2.3
***************
*** 324,328 ****
if (!$errors = $this->validate_user($userData))
{
! $this->so->add_user($userData);
ExecMethod('admin.uiaccounts.list_users');
return False;
--- 324,330 ----
if (!$errors = $this->validate_user($userData))
{
! $account_id =
$this->so->add_user($userData);
! $GLOBALS['hook_values']['account_id'] =
$account_id;
!
$GLOBALS['phpgw']->hooks->process('addaccount');
ExecMethod('admin.uiaccounts.list_users');
return False;
***************
*** 546,549 ****
--- 548,554 ----
{
$this->save_user($userData);
+ $GLOBALS['hook_values']['account_id'] =
$userData['account_id'];
+
$GLOBALS['phpgw']->hooks->process('editaccount');
+
// check if would create a menu
// if we do, we can't return to the
users list, because
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: admin/inc class.boaccounts.inc.php,1.22.2.2,1.22.2.3,
Joseph Engo <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: brewer/templates/idsociety/images check.gif,1.1.1.1,NONE check.png,1.1,NONE down.gif,1.1,NONE down.png,1.1,NONE up.gif,1.1,NONE up.png,1.1,NONE
- Next by Date:
[Phpgroupware-cvs] CVS: cdb/doc cdb.preferences.txt,NONE,1.1 cdb.fields.txt,1.1,1.2 cdb.views.txt,1.3,1.4
- Previous by thread:
[Phpgroupware-cvs] CVS: brewer/templates/idsociety/images check.gif,1.1.1.1,NONE check.png,1.1,NONE down.gif,1.1,NONE down.png,1.1,NONE up.gif,1.1,NONE up.png,1.1,NONE
- Next by thread:
[Phpgroupware-cvs] CVS: cdb/doc cdb.preferences.txt,NONE,1.1 cdb.fields.txt,1.1,1.2 cdb.views.txt,1.3,1.4
- Index(es):