phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] admin/inc/class.boaccounts.inc.php, 1.35


From: nomail
Subject: [Phpgroupware-cvs] admin/inc/class.boaccounts.inc.php, 1.35
Date: Fri, 25 Jun 2004 14:28:18 +0200

Update of /admin/inc
Modified Files:
        Branch: 
          class.boaccounts.inc.php

date: 2004/06/25 12:28:18;  author: fipsfuchs;  state: Exp;  lines: +1 -1

Log Message:
the hook value is set before calling the hook
=====================================================================
Index: admin/inc/class.boaccounts.inc.php
diff -u admin/inc/class.boaccounts.inc.php:1.34 
admin/inc/class.boaccounts.inc.php:1.35
--- admin/inc/class.boaccounts.inc.php:1.34     Fri Jun 25 08:21:59 2004
+++ admin/inc/class.boaccounts.inc.php  Fri Jun 25 12:28:18 2004
@@ -647,6 +647,7 @@
                        }
                        
                        $account_id = get_account_id( (int) $id );
+                       $GLOBALS['hook_values']['account_id'] = $account_id;
 
                        $db = $GLOBALS['phpgw']->db;
                        $db->query('SELECT app_name,app_order FROM 
phpgw_applications WHERE app_enabled!=0 ORDER BY app_order',__LINE__,__FILE__);
@@ -666,7 +667,6 @@
                        
$GLOBALS['phpgw']->hooks->single('deleteaccount','preferences');
                        
$GLOBALS['phpgw']->hooks->single('deleteaccount','admin');
 
-                       $GLOBALS['hook_values']['account_id'] = $account_id;
                        $GLOBALS['phpgw']->hooks->process('deleteaccount');
 
                        //<??[+_+]??




reply via email to

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