Skip to content

Commit

Permalink
minor variable renames
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Teubert committed Sep 21, 2011
1 parent 91ebee3 commit 5154a3a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions archivist.php
Expand Up @@ -108,9 +108,8 @@ public function __construct() {
add_action( 'admin_menu', array( $this, 'add_menu_entry' ) );

// only run update hooks if the plugin is already active
$plugins = get_option( 'active_plugins' );
$required_plugin = 'archivist-custom-archive-templates/archivist.php';
if ( in_array( $required_plugin , $plugins ) ) {
$active_plugins = get_option( 'active_plugins' );
if ( in_array( 'archivist-custom-archive-templates/archivist.php', $active_plugins ) ) {
$this->keep_backwards_compatibility();
}
}
Expand Down

0 comments on commit 5154a3a

Please sign in to comment.