Skip to content

Commit

Permalink
Remove global namespace
Browse files Browse the repository at this point in the history
Not quite ready for that yet!
  • Loading branch information
ChaseWiseman committed Jun 7, 2019
1 parent d299ed0 commit d61a29d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions woocommerce-product-sku-generator.php
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ public function maybe_save_sku( $product ) {
$product->set_sku( $product_sku );
$product->save();

} catch ( \WC_Data_Exception $exception ) {}
} catch ( WC_Data_Exception $exception ) {}

} else {

Expand Down Expand Up @@ -478,7 +478,7 @@ protected function maybe_save_variation_sku( $variation_id, $parent, $parent_sku
$variation->set_sku( $sku );
$variation->save();

} catch ( \WC_Data_Exception $exception ) {}
} catch ( WC_Data_Exception $exception ) {}

} else {

Expand Down

0 comments on commit d61a29d

Please sign in to comment.