You are here

function themekey_update_6101 in ThemeKey 7.2

Same name and namespace in other branches
  1. 6.4 themekey.install \themekey_update_6101()
  2. 6.2 themekey.install \themekey_update_6101()
  3. 6.3 themekey.install \themekey_update_6101()
  4. 7.3 themekey.install \themekey_update_6101()
  5. 7 themekey.install \themekey_update_6101()

Implements hook_update_N().

File

./themekey.install, line 164
Database schema of

Code

function themekey_update_6101() {
  $num_updated = db_update('system')
    ->fields(array(
    'weight' => 0,
  ))
    ->condition('name', 'themekey', '=')
    ->execute();
  return t('Updated system weight to 0 for ThemeKey.');
}