You are here

function uc_roles_uninstall in Ubercart 7.3

Same name and namespace in other branches
  1. 5 uc_roles/uc_roles.install \uc_roles_uninstall()
  2. 6.2 uc_roles/uc_roles.install \uc_roles_uninstall()

Implements hook_uninstall().

File

uc_roles/uc_roles.install, line 194
Install, update and uninstall functions for the uc_roles module.

Code

function uc_roles_uninstall() {
  db_delete('uc_product_features')
    ->condition('fid', 'role')
    ->execute();
  db_delete('variable')
    ->condition('name', 'uc_roles_%', 'LIKE')
    ->execute();
}