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 511312d commit 0bbfcd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion media-command.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
}

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

Expand Down

0 comments on commit 0bbfcd4

Please sign in to comment.