Skip to content

Commit

Permalink
Update action name. Duh.
Browse files Browse the repository at this point in the history
  • Loading branch information
JJJ committed Mar 14, 2017
1 parent 21ec8b2 commit 8535411
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ public function __construct() {
$this->db = $GLOBALS['wpdb'];

// Force table on to the global database object
add_action( 'init', array( $this, 'add_tables_to_db_object' ) );
add_action( 'switch_to_blog', array( $this, 'add_tables_to_db_object' ) );
add_action( 'init', array( $this, 'add_tables_to_db_object' ) );
add_action( 'switch_blog', array( $this, 'add_tables_to_db_object' ) );

// Check if DB needs upgrading
if ( is_admin() ) {
Expand Down

0 comments on commit 8535411

Please sign in to comment.