=== modified file 'uc_product/uc_product.install'
--- uc_product/uc_product.install	2010-03-03 15:47:24 +0000
+++ uc_product/uc_product.install	2010-03-08 15:48:27 +0000
@@ -212,9 +212,10 @@
  * Implement hook_uninstall().
  */
 function uc_product_uninstall() {
-  db_delete('variable')
-    ->condition('name', 'uc_product_shippable_%', 'LIKE')
-    ->execute();
+  foreach (uc_product_types() as $type) {
+    variable_del("uc_image_$type");
+    variable_del("uc_product_shippable_$type");
+  }
 
   variable_del('uc_product_nodes_per_page');
   variable_del('uc_product_add_to_cart_qty');

