From 47d0bb7b6a7a021890b1b288fb86e4e70373a3b1 Mon Sep 17 00:00:00 2001 From: Peter Fabian Date: Wed, 11 Jul 2018 13:44:43 +0200 Subject: [PATCH] Removed variables that are not needed. --- ...class-wc-rest-product-variations-controller.php | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/includes/api/class-wc-rest-product-variations-controller.php b/includes/api/class-wc-rest-product-variations-controller.php index 51c3ec02f6a..f196b0e9497 100644 --- a/includes/api/class-wc-rest-product-variations-controller.php +++ b/includes/api/class-wc-rest-product-variations-controller.php @@ -39,20 +39,6 @@ class WC_REST_Product_Variations_Controller extends WC_REST_Products_Controller */ protected $post_type = 'product_variation'; - /** - * Name of parent product table in SQL query. - * - * @var string - */ - protected $parent_product_table_name = 'p_wc_variation_parent'; - - /** - * Extra clauses to add to WP_Query. - * - * @var array - */ - protected $clauses = array(); - /** * Initialize product actions (parent). */