Index: openacs-4/packages/file-storage/tcl/file-storage-install-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/file-storage/tcl/file-storage-install-procs.tcl,v diff -u -r1.13 -r1.14 --- openacs-4/packages/file-storage/tcl/file-storage-install-procs.tcl 5 Dec 2009 02:08:14 -0000 1.13 +++ openacs-4/packages/file-storage/tcl/file-storage-install-procs.tcl 27 Oct 2014 16:41:31 -0000 1.14 @@ -166,7 +166,7 @@ set folder_id [fs::new_folder -name $name -pretty_name $pretty_name -parent_id $root -creation_user [ad_conn user_id] -creation_ip 127.0.0.1] - if {![string equal $id ""]} { + if {$id ne "" } { set ::install::xml::ids($id) $folder_id } } @@ -207,26 +207,4 @@ } { } -ad_proc -public -callback pm::project_new -impl file_storage { - {-package_id:required} - {-project_id:required} - {-data:required} -} { - create a new folder for each new project -} { - set pm_name [pm::project::name -project_item_id $project_id] - foreach fs_package_id [application_link::get_linked -from_package_id $package_id -to_package_key "file-storage"] { - set root_folder_id [fs::get_root_folder -package_id $fs_package_id] - - set folder_id [fs::new_folder \ - -name $project_id \ - -pretty_name $pm_name \ - -parent_id $root_folder_id \ - -no_callback] - - application_data_link::new -this_object_id $project_id -target_object_id $folder_id - } -} - -