You are here

function site_map_update_6000 in Site map 7

Same name and namespace in other branches
  1. 6.2 site_map.install \site_map_update_6000()

Delete no longer used variables.

File

./site_map.install, line 22
The install and update code for the site_map module.

Code

function site_map_update_6000() {
  db_delete('variable')
    ->condition('name', db_like('site_map_message_') . '%', 'LIKE')
    ->execute();
  db_delete('variable')
    ->condition('name', db_like('site_map_show_menus_') . '%', 'LIKE')
    ->execute();
}