function lingotek_update_7506 in Lingotek Translation 7.7
Same name and namespace in other branches
- 7.5 lingotek.install \lingotek_update_7506()
- 7.6 lingotek.install \lingotek_update_7506()
Add created and modified timestamps to lingotek schemas.
File
- ./
lingotek.install, line 810
Code
function lingotek_update_7506(&$sandbox) {
// lingotek_keystore() was modified as of update #7506 to
// require two additional fields: created and modified. So, that
// update function is called in all previous update functions prior to
// running lingotek_keystore() as a forward-compatibility, since these
// fields are missing at the point of previous updates, while the db
// schema includes the fields already. This is the final call to it.
lingotek_extend_metadata_tables();
$message = "Creation and modification timestamps for Lingotek metadata have successfully been added.";
return $message;
}