phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: preferences/inc class.bocategories.inc.php,1.9,1


From: Bettina Gille <address@hidden>
Subject: [Phpgroupware-cvs] CVS: preferences/inc class.bocategories.inc.php,1.9,1.10 class.uicategories.inc.php,1.13,1.14
Date: Tue, 24 Sep 2002 23:56:09 -0400

Update of /cvsroot/phpgroupware/preferences/inc
In directory subversions:/tmp/cvs-serv16489

Modified Files:
        class.bocategories.inc.php class.uicategories.inc.php 
Log Message:
update delete cats

Index: class.bocategories.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/preferences/inc/class.bocategories.inc.php,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** class.bocategories.inc.php  8 Sep 2002 20:40:12 -0000       1.9
--- class.bocategories.inc.php  25 Sep 2002 03:56:06 -0000      1.10
***************
*** 105,111 ****
                }
  
!               function delete($cat_id,$drop_subs,$modify_subs)
                {
!                       $this->cats->delete($cat_id,$drop_subs,$modify_subs);
                }
  
--- 105,114 ----
                }
  
!               function delete($data)
                {
!                       if (is_array($data))
!                       {
!                               $this->cats->delete($data);
!                       }
                }
  

Index: class.uicategories.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/preferences/inc/class.uicategories.inc.php,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -r1.13 -r1.14
*** class.uicategories.inc.php  8 Sep 2002 20:40:12 -0000       1.13
--- class.uicategories.inc.php  25 Sep 2002 03:56:06 -0000      1.14
***************
*** 531,539 ****
                                {
                                        case 'move':
!                                               
$this->bo->delete($this->cat_id,False,True);
                                                Header('Location: ' . 
$GLOBALS['phpgw']->link('/index.php',$link_data));
                                                break;
                                        case 'drop':
!                                               
$this->bo->delete($this->cat_id,True);
                                                Header('Location: ' . 
$GLOBALS['phpgw']->link('/index.php',$link_data));
                                                break;
--- 531,539 ----
                                {
                                        case 'move':
!                                               
$this->bo->delete(array('cat_id' => $this->cat_id,'modify_subs' => True));
                                                Header('Location: ' . 
$GLOBALS['phpgw']->link('/index.php',$link_data));
                                                break;
                                        case 'drop':
!                                               
$this->bo->delete(array('cat_id' => $this->cat_id,'drop_subs' => True));
                                                Header('Location: ' . 
$GLOBALS['phpgw']->link('/index.php',$link_data));
                                                break;





reply via email to

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