You are here

function skinr_context_skinr_skin_delete in Skinr 7.2

Implements hook_skinr_skin_delete().

File

skinr_context/skinr_context.module, line 628
Provides Skinr integration with Context.

Code

function skinr_context_skinr_skin_delete($skin) {
  if (!empty($skin->gid)) {
    db_delete('skinr_group_skins')
      ->condition('sid', $skin->sid)
      ->execute();
  }
}