function lingotek_update_7208 in Lingotek Translation 7.3
Same name and namespace in other branches
- 7.7 lingotek.install \lingotek_update_7208()
- 7.2 lingotek.install \lingotek_update_7208()
- 7.4 lingotek.install \lingotek_update_7208()
- 7.5 lingotek.install \lingotek_update_7208()
- 7.6 lingotek.install \lingotek_update_7208()
Update lingokey name from 'document_id_xx' to 'document_id'
File
- ./
lingotek.install, line 348 - Installation for Lingotek Community Translation Module.
Code
function lingotek_update_7208(&$sandbox) {
db_query("UPDATE {lingotek} SET lingokey = 'document_id' WHERE lingokey LIKE 'document_id_%'");
return t('Updated lingotek lingokey name from \'document_id_xx\' to \'document_id\'');
}