Index: openacs-4/packages/xowiki/www/admin/delete-type.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/www/admin/delete-type.tcl,v diff -u -r1.9 -r1.10 --- openacs-4/packages/xowiki/www/admin/delete-type.tcl 3 Dec 2006 12:21:47 -0000 1.9 +++ openacs-4/packages/xowiki/www/admin/delete-type.tcl 12 Dec 2008 13:48:17 -0000 1.10 @@ -15,10 +15,10 @@ set sql [$object_type instance_select_query -with_subtypes 0 -folder_id [::$package_id folder_id]] db_foreach retrieve_instances $sql { permission::require_write_permission -object_id $item_id - $object_type delete -item_id $item_id + $package_id delete -item_id $item_id -name $name } # drop type requires that all pages of all xowiki instances are deleted -#foreach type [$object_type object_types -subtypes_first true] {$type drop_object_type} +# foreach type [$object_type object_types -subtypes_first true] {$type drop_object_type} ad_returnredirect $return_url