category::phase_out (public)

 category::phase_out category_id

Defined in packages/categories/tcl/categories-procs.tcl

Marks a category to be phasing out. That means this category and all its subcategories will no longer appear in the categorization widget to categorize new objects / update existing objects, but all existing categorizations will still remain valid. Make sure to use category_tree::flush_cache afterwards.

Parameters:
category_id (required)
category_id of the category to be phased out
Author:
Timo Hentschel <timo@timohentschel.de>
See Also:

Testcases:
category_crud
[ show source ]
Show another procedure: