phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: sitemgr/inc class.Categories_SO.inc.php,1.6,1.7


From: Bettina Gille <address@hidden>
Subject: [Phpgroupware-cvs] CVS: sitemgr/inc class.Categories_SO.inc.php,1.6,1.7
Date: Mon, 02 Sep 2002 22:37:46 -0400

Update of /cvsroot/phpgroupware/sitemgr/inc
In directory subversions:/tmp/cvs-serv4448

Modified Files:
        class.Categories_SO.inc.php 
Log Message:
update delete plus added parent value to functions

Index: class.Categories_SO.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/sitemgr/inc/class.Categories_SO.inc.php,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** class.Categories_SO.inc.php 2 Sep 2002 22:46:13 -0000       1.6
--- class.Categories_SO.inc.php 3 Sep 2002 02:37:44 -0000       1.7
***************
*** 49,56 ****
                }
  
!               function removeCategory($cat_id, $subs = False)
                {
!                       $this->cats->delete($cat_id,$subs);
!                       return true;
                }
  
--- 49,56 ----
                }
  
!               function removeCategory($cat_id)
                {
!                       $this->cats->delete($cat_id,False,True);
!                       return True;
                }
  
***************
*** 59,66 ****
                        $data = array
                        (
!                               'name'  => $cat_info->name,
!                               'descr' => $cat_info->description,
!                               'data'  => (int) $cat_info->sort_order,
!                               'id'    => $cat_info->id
                        );
  
--- 59,67 ----
                        $data = array
                        (
!                               'name'          => $cat_info->name,
!                               'descr'         => $cat_info->description,
!                               'data'          => (int) $cat_info->sort_order,
!                               'id'            => $cat_info->id,
!                               'parent'        => $cat_info->parent
                        );
  
***************
*** 79,82 ****
--- 80,84 ----
                                $cat_info->sort_order   = $cat[0]['data'];
                                $cat_info->description  = 
$cat[0]['description'];
+                               $cat_info->parent               = 
$cat[0]['parent'];
                                return $cat_info;
                        }





reply via email to

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