18 lines
324 B
Plaintext
18 lines
324 B
Plaintext
|
<?php
|
||
|
|
||
|
/**
|
||
|
* @file
|
||
|
* Update function for the translation module.
|
||
|
*/
|
||
|
|
||
|
|
||
|
/**
|
||
|
* Rename the translate content permission.
|
||
|
*/
|
||
|
function translation_update_8000() {
|
||
|
db_update('role_permission')
|
||
|
->fields(array('permission' => 'translate all content'))
|
||
|
->condition('permission', 'translate content')
|
||
|
->execute();
|
||
|
}
|