Dev version of uc_views

This commit is contained in:
mattbk
2015-10-06 13:57:14 -05:00
parent de57c1b0e6
commit bb1313bad9
52 changed files with 5691 additions and 0 deletions

13
uc_views/uc_views.install Normal file
View File

@ -0,0 +1,13 @@
<?php
/**
* Remove database views that were previously in the core module - but has now been moved to uc_views_marketing
*/
function uc_views_update_6301() {
$ret = array();
$ret[] = update_sql("DROP VIEW {uc_order_products_qty_vw}");
$ret[] = update_sql("DROP VIEW {uc_order_products_user_vw}");
$ret[] = update_sql("DROP VIEW {uc_order_products_pair_vw}");
drupal_set_message(t('Removed database views - please install the new submodule uc_views_marketing to get your old views to work'));
return $ret;
}