Skip to content

Commit

Permalink
Remove duplicate call of wp_stream_no_tables filter
Browse files Browse the repository at this point in the history
  • Loading branch information
frankiejarrett committed May 15, 2014
1 parent fc96da1 commit 076bed1
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions stream.php
Original file line number Diff line number Diff line change
Expand Up @@ -161,16 +161,6 @@ public static function i18n() {
* @return void
*/
public static function install() {
/**
* Filter will halt install() if set to true
*
* @param bool
* @return bool
*/
if ( apply_filters( 'wp_stream_no_tables', false ) ) {
return;
}

// Install plugin tables
require_once WP_STREAM_INC_DIR . 'install.php';
$update = WP_Stream_Install::get_instance();
Expand All @@ -187,7 +177,7 @@ public function verify_database_present() {
}

/**
* Filter will halt verify_database_present() if set to true
* Filter will halt verify_database_present() and install() if set to true
*
* @param bool
* @return bool
Expand Down

0 comments on commit 076bed1

Please sign in to comment.