Skip to content

Commit

Permalink
Make sure MailChimp API class isn't loaded. Closes #1
Browse files Browse the repository at this point in the history
  • Loading branch information
stas committed Sep 17, 2011
1 parent 9a2f889 commit 85f5539
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions includes/crm_sync.class.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
<?php
require_once 'MCAPI.class.php';

/**
* Class extends user profile fields
*/
Expand Down
2 changes: 2 additions & 0 deletions simple-crm-mailchimp.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
define( 'SCRM_MC_ROOT', dirname( __FILE__ ) );
define( 'SCRM_MC_WEB_ROOT', WP_PLUGIN_URL . '/' . basename( SCRM_MC_ROOT ) );

if ( !class_exists( 'MCAPI' ) )
require_once SCRM_MC_ROOT . '/includes/MCAPI.class.php';
require_once SCRM_MC_ROOT . '/includes/crm_sync.class.php';

/**
Expand Down

0 comments on commit 85f5539

Please sign in to comment.