Remove unused variable

This commit is contained in:
Rodrigo Primo 2018-03-16 09:57:18 -03:00
parent b0902e56d8
commit 8e87ce7e57
1 changed files with 0 additions and 2 deletions

View File

@ -61,8 +61,6 @@ class WC_Product_Grouped extends WC_Product {
* @return bool
*/
public function is_on_sale( $context = 'view' ) {
global $wpdb;
$children = array_filter( array_map( 'wc_get_product', $this->get_children( $context ) ), 'wc_products_array_filter_visible_grouped' );
$on_sale = false;