Index: openacs-4/packages/xowiki/www/view-plain.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/www/Attic/view-plain.adp,v
diff -u -r1.12 -r1.13
--- openacs-4/packages/xowiki/www/view-plain.adp 11 Apr 2007 12:36:29 -0000 1.12
+++ openacs-4/packages/xowiki/www/view-plain.adp 16 Apr 2007 11:15:10 -0000 1.13
@@ -1,4 +1,4 @@
-
+
Index: openacs-4/packages/xowiki/www/admin/set-publish-state.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/www/admin/set-publish-state.tcl,v
diff -u -r1.4 -r1.5
--- openacs-4/packages/xowiki/www/admin/set-publish-state.tcl 11 Apr 2007 12:36:29 -0000 1.4
+++ openacs-4/packages/xowiki/www/admin/set-publish-state.tcl 16 Apr 2007 11:15:10 -0000 1.5
@@ -19,7 +19,10 @@
ns_cache flush xotcl_object_cache ::$item_id
ns_cache flush xotcl_object_cache ::$revision_id
-::xo::db::CONTENT_ITEM MAKE_LIVE {revision_id state}
+#::xo::db::CONTENT_ITEM MAKE_LIVE {revision_id state}
+::xo::db::content_item make_live \
+ -revision_id $revision_id \
+ -state $state
if {$state ne "production"} {
::xowiki::notification::do_notifications -revision_id $revision_id
Index: openacs-4/packages/xowiki/www/xinha/file-selector.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/www/xinha/file-selector.tcl,v
diff -u -r1.6 -r1.7
--- openacs-4/packages/xowiki/www/xinha/file-selector.tcl 11 Apr 2007 12:36:29 -0000 1.6
+++ openacs-4/packages/xowiki/www/xinha/file-selector.tcl 16 Apr 2007 11:15:10 -0000 1.7
@@ -157,7 +157,10 @@
set folder_name [lang::util::localize [fs::get_object_name -object_id $folder_id]]
set content_size_total 0
-set folder_path [::xo::db::CONTENT_ITEM GET_PATH {folder_id root_folder_id}]
+#set folder_path [::xo::db::CONTENT_ITEM GET_PATH {folder_id root_folder_id}]
+set folder_path [::xo::db::content_item get_path \
+ -folder_id $folder_id \
+ -root_folder_id $root_folder_id]
# -pass_to_urls {c}