Skip to content

Commit

Permalink
Remove unnecessary class_exists() check
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbachhuber committed Mar 24, 2017
1 parent f255100 commit f7a32e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shell-command.php
Expand Up @@ -5,7 +5,7 @@
}

$autoload = dirname( __FILE__ ) . '/vendor/autoload.php';
if ( file_exists( $autoload ) && ! class_exists( 'Shell_Command' ) ) {
if ( file_exists( $autoload ) ) {
require_once $autoload;
}

Expand Down

0 comments on commit f7a32e5

Please sign in to comment.