Author: ralfbecker
New Revision: 22456
URL: http://www.egroupware.org/viewvc?rev=3D22456&view=3Drev
Log:
passing the info also to method hooks
Modified:
trunk/admin/inc/class.boaccounts.inc.php
Modified: trunk/admin/inc/class.boaccounts.inc.php
URL: http://www.egroupware.org/viewvc/trunk/admin/inc/class.boaccounts.inc.=
php?rev=3D22456&r1=3D22455&r2=3D22456&view=3Ddiff
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
— trunk/admin/inc/class.boaccounts.inc.php (original)
+++ trunk/admin/inc/class.boaccounts.inc.php Tue Sep 19 08:58:25 2006
@@ -148,16 +148,11 @@
‘new_owner’ =3D> (int)$_POST[‘new_owner’],
‘location’ =3D> ‘deleteaccount’,
);
-
foreach($GLOBALS['egw_info']['apps'] as $appname =3D> $data) -
{ -
if($appname !=3D 'admin' && $appname !=3D 'preferences') -
{ -
$GLOBALS['egw']->hooks->single($GLOBALS['hook_values'],$appname); -
} -
} -
$GLOBALS['egw']->hooks->single('deleteaccount','preferences'); -
$GLOBALS['egw']->hooks->single('deleteaccount','admin');
-
// first all other apps, then preferences and admin -
foreach(array_merge(array_diff(array_keys($GLOBALS['egw_info']['apps']=
),array(‘preferences’,‘admin’)),array(‘preferences’,‘admin’)) as $app)
-
{ -
$GLOBALS['egw']->hooks->single($GLOBALS['hook_values'],$app); -
}
=
$basedir =3D $GLOBALS['egw_info']['server']['files_dir'] . SEP . 'user=
s’ . SEP;
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net’s Techsay panel and you’ll get the chance to share your
opinions on IT & business topics through brief surveys – and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs