You are here

function uc_product_class_delete_access in Ubercart 6.2

Same name and namespace in other branches
  1. 7.3 uc_product/uc_product.module \uc_product_class_delete_access()

Menu access callback for deleting product classes.

1 string reference to 'uc_product_class_delete_access'
uc_product_menu in uc_product/uc_product.module
Implements hook_menu().

File

uc_product/uc_product.module, line 232
The product module for Ubercart.

Code

function uc_product_class_delete_access($class) {
  return user_access('administer product classes') && !$class->locked;
}