Skip to content

Commit

Permalink
Remove duplicate import and move Constants before ImageManager
Browse files Browse the repository at this point in the history
  • Loading branch information
arunshenoy99 committed Dec 23, 2024
1 parent 7d4ce4c commit afab43f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions includes/Performance.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

use Automattic\Jetpack\Current_Plan;
use NewfoldLabs\WP\Module\Performance\Data\Constants;
use NewfoldLabs\WP\Module\Performance\Images\ImageManager;

/**
* Performance Class
Expand Down Expand Up @@ -76,8 +75,8 @@ public function __construct( Container $container ) {

$cacheManager = new CacheManager( $container );
$cachePurger = new CachePurgingService( $cacheManager->getInstances() );
new ImageManager();
new Constants( $container );
new ImageManager();

add_action( 'admin_bar_menu', array( $this, 'adminBarMenu' ), 100 );
new LinkPrefetch( $container );
Expand Down

0 comments on commit afab43f

Please sign in to comment.