From 9a07e92ebaf7ddf2792ca8dd57922a74e7cd92d1 Mon Sep 17 00:00:00 2001 From: Mike Jolley Date: Wed, 19 Jun 2019 11:31:04 +0100 Subject: [PATCH] Remove parent construct call since init() is used. --- includes/class-wc-api.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/includes/class-wc-api.php b/includes/class-wc-api.php index f9c7855e6ae..a56ea1bb5e3 100644 --- a/includes/class-wc-api.php +++ b/includes/class-wc-api.php @@ -24,8 +24,6 @@ class WC_API extends WC_Legacy_API { * @since 2.0 */ public function __construct() { - parent::__construct(); - $this->wc_api_init(); $this->rest_api_init(); }