lang::message::unregister (public)
lang::message::unregister package_key message_key
Defined in packages/acs-lang/tcl/lang-message-procs.tcl
Unregisters a message key, i.e. deletes it along with all its messages from the database and deleted entries in the cache. This proc is useful when installing a package. To delete an individual message, as opposed to the entire key, use lang::message::delete.
- Parameters:
- package_key
message_key
- Author:
- Peter Marklund
- See Also:
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- util__replace_temporary_tags_with_lookups, upgrade, localize, group_localization
Source code: # Deletes messages as well db_dml delete_key { delete from lang_message_keys where message_key = :message_key and package_key = :package_key } remove_from_cache $package_key $message_keyGeneric XQL file: packages/acs-lang/tcl/lang-message-procs.xql
PostgreSQL XQL file: packages/acs-lang/tcl/lang-message-procs-postgresql.xql
Oracle XQL file: packages/acs-lang/tcl/lang-message-procs-oracle.xql