function i18nblocks_delete in Internationalization 5
Same name and namespace in other branches
- 5.3 i18nblocks/i18nblocks.module \i18nblocks_delete()
- 5.2 i18nblocks/i18nblocks.module \i18nblocks_delete()
2 calls to i18nblocks_delete()
- i18nblocks_admin in i18nblocks/
i18nblocks.module - Add a new metablock and go to settings page
- i18nblocks_nodeapi in i18nblocks/
i18nblocks.module - Implementation of hook_nodeapi
File
- i18nblocks/
i18nblocks.module, line 322
Code
function i18nblocks_delete($delta) {
db_query("DELETE FROM {i18n_blocks} WHERE delta = '%s'", $delta);
db_query("DELETE FROM {i18n_blocks_i18n} WHERE bid = '%s'", $delta);
}