You are here

function themekey_ui_user_delete in ThemeKey 7.3

Same name and namespace in other branches
  1. 7 themekey_ui.module \themekey_ui_user_delete()
  2. 7.2 themekey_ui.module \themekey_ui_user_delete()

Implements hook_user_delete().

Parameters

$account:

File

./themekey_ui.module, line 432
ThemeKey UI is an extension for ThemeKey

Code

function themekey_ui_user_delete($account) {
  db_delete('themekey_ui_author_theme')
    ->condition('uid', $account->uid)
    ->execute();
}