Skip to content

Commit

Permalink
We'll let autoload handle this file loading
Browse files Browse the repository at this point in the history
Revert: 1428bf8
  • Loading branch information
coenjacobs committed Nov 1, 2013
1 parent 1428bf8 commit 16162ca
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
5 changes: 0 additions & 5 deletions includes/class-wc-integrations.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,6 @@ public function __construct() {

$load_integrations = apply_filters( 'woocommerce_integrations', array() );

if ( ! empty( $load_integrations ) ) {
global $woocommerce;
include_once( $woocommerce->plugin_path . '/includes/abstracts/abstract-wc-integration.php' );
}

// Load integration classes
foreach ( $load_integrations as $integration ) {

Expand Down
1 change: 1 addition & 0 deletions woocommerce.php
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,7 @@ private function includes() {
include_once( 'includes/abstracts/abstract-wc-settings-api.php' ); // Settings API (for gateways, shipping, and integrations)
include_once( 'includes/abstracts/abstract-wc-shipping-method.php' ); // A Shipping method
include_once( 'includes/abstracts/abstract-wc-payment-gateway.php' ); // A Payment gateway
include_once( 'includes/abstracts/abstract-wc-integration.php' ); // An integration with a service

// Classes (used on all pages)
include_once( 'includes/class-wc-product-factory.php' ); // Product factory
Expand Down

0 comments on commit 16162ca

Please sign in to comment.