Merge pull request #14537 from woocommerce/fix/14503

Remove unused variable
This commit is contained in:
Claudio Sanches 2017-04-19 14:03:30 -03:00 committed by GitHub
commit 5d3330fac2
1 changed files with 0 additions and 1 deletions

View File

@ -420,7 +420,6 @@ class WC_Post_Data {
if ( $variation_id ) {
$product_id = $variation_id;
}
$product = wc_get_product( $product_id );
$data_store = WC_Data_Store::load( 'customer-download' );
if ( $downloads ) {