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 class.uiacco...


From: Dave Hall
Subject: [Phpgroupware-cvs] admin/inc class.boaccounts.inc.php class.uiacco...
Date: Sun, 26 Mar 2006 05:34:14 +0000

CVSROOT:        /cvsroot/phpgroupware
Module name:    admin
Branch:         
Changes by:     Dave Hall <address@hidden>      06/03/26 05:34:14

Modified files:
        inc            : class.boaccounts.inc.php 
                         class.uiaccounts.inc.php 

Log message:
        yay worked out how to do it without hacking class.accounts :)

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/phpgroupware/admin/inc/class.boaccounts.inc.php.diff?tr1=1.45&tr2=1.46&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/phpgroupware/admin/inc/class.uiaccounts.inc.php.diff?tr1=1.59&tr2=1.60&r1=text&r2=text

Patches:
Index: admin/inc/class.boaccounts.inc.php
diff -u admin/inc/class.boaccounts.inc.php:1.45 
admin/inc/class.boaccounts.inc.php:1.46
--- admin/inc/class.boaccounts.inc.php:1.45     Sat Mar 25 12:39:55 2006
+++ admin/inc/class.boaccounts.inc.php  Sun Mar 26 05:34:14 2006
@@ -9,7 +9,7 @@
        *  Free Software Foundation; either version 2 of the License, or (at 
your  *
        *  option) any later version.                                           
   *
        
\**************************************************************************/
-       /* $Id: class.boaccounts.inc.php,v 1.45 2006/03/25 12:39:55 skwashd Exp 
$ */
+       /* $Id: class.boaccounts.inc.php,v 1.46 2006/03/26 05:34:14 skwashd Exp 
$ */
 
        //FIXME define constants for rights so we can fuck all these magic 
numbers
        
@@ -215,7 +215,7 @@
                        }
                        
                        //Add the group manager
-                       $acl->add_repository('phpgw_group', 
$new_group->account_id, $values['group_manager'], PHPGW_ACL_GROUP_MANAGERS);
+                       $acl->add_repository('phpgw_group', 
$new_group->account_id, $values['group_manager'], PHPGW_ACL_GROUP_MANAGERS | 1);
 
                        // Things that have to change because of new group name
                        // FIXME this needs to be changed to work with all VFS 
backends
Index: admin/inc/class.uiaccounts.inc.php
diff -u admin/inc/class.uiaccounts.inc.php:1.59 
admin/inc/class.uiaccounts.inc.php:1.60
--- admin/inc/class.uiaccounts.inc.php:1.59     Sat Mar 25 12:39:55 2006
+++ admin/inc/class.uiaccounts.inc.php  Sun Mar 26 05:34:14 2006
@@ -9,7 +9,7 @@
        *  Free Software Foundation; either version 2 of the License, or (at 
your  *
        *  option) any later version.                                           
   *
        
\**************************************************************************/
-       /* $Id: class.uiaccounts.inc.php,v 1.59 2006/03/25 12:39:55 skwashd Exp 
$ */
+       /* $Id: class.uiaccounts.inc.php,v 1.60 2006/03/26 05:34:14 skwashd Exp 
$ */
 
        class uiaccounts
        {
@@ -350,7 +350,6 @@
                        
                        
                        $group_manager = 
$GLOBALS['phpgw']->acl->get_ids_for_location($account_id, 
PHPGW_ACL_GROUP_MANAGERS, 'phpgw_group');
-                       $group_members = array_merge($group_members, 
$group_manager);
 
                        if ( !is_array($group_members) )
                        {




reply via email to

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