Closed (fixed)
Project:
Ubercart
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
3 Dec 2012 at 23:23 UTC
Updated:
25 Dec 2012 at 19:00 UTC
Jump to comment: Most recent file
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.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 1857572-remove-uc_product_title_sku_autocomplete.patch | 1.83 KB | longwave |
Comments
Comment #1
longwavePatch attached. The same code exists in 6.x-2.x and isn't used there either.
Comment #2
longwaveCommitted. Let's leave it in 6.x on the off change there is some contrib using it, somewhere.