Index: openacs-4/packages/acs-content-repository/tcl/content-item-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/tcl/content-item-procs.tcl,v diff -u -r1.38.2.7 -r1.38.2.8 --- openacs-4/packages/acs-content-repository/tcl/content-item-procs.tcl 22 Feb 2021 11:47:19 -0000 1.38.2.7 +++ openacs-4/packages/acs-content-repository/tcl/content-item-procs.tcl 6 Mar 2021 17:00:36 -0000 1.38.2.8 @@ -367,16 +367,14 @@ content_item get_content_type] } -ad_proc -public content::item::get_context { +ad_proc -deprecated -public content::item::get_context { -item_id:required } { @param item_id @return NUMBER(38) } { - return [package_exec_plsql -var_list [list \ - [list item_id $item_id ] \ - ] content_item get_context] + return [acs_object::get_element -object_id $item_id -element context_id] }