You are here

function themekey_ui_user_delete in ThemeKey 7

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

Implementation of hook_user_delete()

Parameters

$account:

File

./themekey_ui.module, line 419
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();
}