This commit is contained in:
shrykedude 2004-02-14 05:28:06 +00:00
parent 153d7da1c4
commit c4b97f01cb
2 changed files with 3 additions and 3 deletions

View File

@ -106,9 +106,9 @@
return $this->cats->formated_list($format,$type,$cat_parent,$global_cats); return $this->cats->formated_list($format,$type,$cat_parent,$global_cats);
} }
function delete($cat_id,$subs) function delete($cat_id,$drop_subs,$modify_subs=false)
{ {
return $this->cats->delete($cat_id,$subs); return $this->cats->delete($cat_id,$drop_subs,$modify_subs);
} }
function check_values($values) function check_values($values)

View File

@ -551,7 +551,7 @@
} }
else else
{ {
$this->bo->delete($cat_id,False); $this->bo->delete($cat_id,False,True);
} }
$GLOBALS['phpgw']->redirect_link('/index.php',$link_data); $GLOBALS['phpgw']->redirect_link('/index.php',$link_data);
} }