}
/**
- * Fix renamed queries from system_update_7000().
- */
-function system_update_7075() {
- $permission_changes = array(
- 'create blog entries' => 'create blog content',
- 'edit own blog entries' => 'edit own blog content',
- 'edit any blog entry' => 'edit any blog content',
- 'delete own blog entries' => 'delete own blog content',
- 'delete any blog entry' => 'delete any blog content',
-
- 'create forum topics' => 'create forum content',
- 'edit own forum topics' => 'edit own forum content',
- 'edit any forum topic' => 'edit any forum content',
- 'delete own forum topics' => 'delete own forum content',
- 'delete any forum topic' => 'delete any forum content',
- );
-
- foreach ($permission_changes as $permission_key => $permission_change) {
- db_update('role_permission')
- ->fields(array('permission' => $permission_change))
- ->condition('permission', $permission_key)
- ->execute();
- }
-}
-
-/**
* Convert menu_links query strings into arrays.
*/
function system_update_7076() {