lang::catalog::package_delete (public)

 lang::catalog::package_delete -package_key package_key

Defined in packages/acs-lang/tcl/lang-catalog-procs.tcl

Unregister the I18N messages for the package.

Switches:
-package_key (required)
Author:
Peter Marklund

Testcases:
test_catalog_import_export
Source code:
    set message_key_list [db_list all_message_keys_for_package {
        select message_key
        from lang_message_keys
        where package_key = :package_key
    }]

    db_dml delete_package_keys {
        delete from lang_message_keys
        where package_key = :package_key
    }

    foreach message_key $message_key_list {
        lang::message::remove_from_cache $package_key $message_key
    }
Generic XQL file:
packages/acs-lang/tcl/lang-catalog-procs.xql

PostgreSQL XQL file:
packages/acs-lang/tcl/lang-catalog-procs-postgresql.xql

Oracle XQL file:
packages/acs-lang/tcl/lang-catalog-procs-oracle.xql

[ hide source ] | [ make this the default ]
Show another procedure: