function file_admin_update_7000 in File admin 7
Rename the view own unpublished files permission.
File
- ./
file_admin.install, line 74 - Installation file for file_admin module.
Code
function file_admin_update_7000() {
db_update('role_permission')
->fields(array(
'permission' => 'view own unpublished files',
))
->condition('permission', 'view own unpublished media')
->execute();
}