uc_product_menu() defines an autocomplete callback which is never used:

$ git grep uc_product_title_sku
uc_product/uc_product.module:  $items['autocomplete/uc_product_title_sku'] = array(
uc_product/uc_product.module:    'page callback' => 'uc_product_title_sku_autocomplete',
uc_product/uc_product.pages.inc:function uc_product_title_sku_autocomplete($string = '') {

It looks like this definition, and the entire of uc_product.pages.inc, can be safely removed.

Comments

longwave’s picture

Status: Active » Needs review
StatusFileSize
new1.83 KB

Patch attached. The same code exists in 6.x-2.x and isn't used there either.

longwave’s picture

Status: Needs review » Fixed

Committed. Let's leave it in 6.x on the off change there is some contrib using it, somewhere.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.