Remove unused variable

This commit is contained in:
Claudiu Lodromanean 2017-02-13 14:19:26 -08:00
parent ab1b3201e0
commit 3068d56bac
1 changed files with 0 additions and 1 deletions

View File

@ -133,7 +133,6 @@ class WC_Product_Variation_Data_Store_CPT extends WC_Product_Data_Store_CPT impl
* @param WC_Product
*/
public function update( &$product ) {
$parent_object = get_post( $product->get_parent_id() );
$post_data = array(
'ID' => $product->get_id(),
'post_title' => $this->generate_product_title( $product ),