xo::db::CrFolder instproc delete (public)

 <instance of xo::db::CrFolder[i]> delete

Defined in /var/www/openacs.org/packages/xotcl-core/tcl/cr-procs.tcl

Delete the CrFolder instance. This method takes the folder_id of the current instance.

Testcases:
No testcase defined.
Source code:
if {[:is_package_root_folder]} {
  ad_return_error "Removal denied" "Don't delete the package root folder, delete the package"
  return
}
# delegate deletion to the class
[:info class] delete -item_id ${:folder_id}
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: