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.37


From: nomail
Subject: [Phpgroupware-cvs] admin/inc/class.boaccounts.inc.php, 1.37
Date: Fri, 30 Jul 2004 14:21:31 +0200

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

date: 2004/07/30 12:21:31;  author: fipsfuchs;  state: Exp;  lines: +4 -10

Log Message:
missing dblock on session added
dead code removed
=====================================================================
Index: admin/inc/class.boaccounts.inc.php
diff -u admin/inc/class.boaccounts.inc.php:1.36 
admin/inc/class.boaccounts.inc.php:1.37
--- admin/inc/class.boaccounts.inc.php:1.36     Thu Jul 29 11:41:51 2004
+++ admin/inc/class.boaccounts.inc.php  Fri Jul 30 12:21:31 2004
@@ -454,7 +454,8 @@
                        $GLOBALS['phpgw']->db->lock(array
                                (
                                        'phpgw_accounts',
-                                       'phpgw_acl'
+                                       'phpgw_acl',
+                                       'phpgw_sessions' // should be in direct 
in the session class!?
                                )
                        );
 
@@ -469,14 +470,7 @@
 
                        
$GLOBALS['phpgw']->acl->delete_repository('%%','run',$account_id);
 
-                       if (! 
@rmdir($GLOBALS['phpgw_info']['server']['files_dir'].SEP.'groups'.SEP.$GLOBALS['phpgw']->accounts->id2name($account_id)))
-                       {
-                               $cd = 38;
-                       }
-                       else
-                       {
-                               $cd = 32;
-                       }
+                       
@rmdir($GLOBALS['phpgw_info']['server']['files_dir'].SEP.'groups'.SEP.$GLOBALS['phpgw']->accounts->id2name($account_id));
 
                        $GLOBALS['phpgw']->accounts->delete($account_id);
                        $GLOBALS['phpgw']->db->unlock();




reply via email to

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