Skip to content

Commit

Permalink
Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
rachelwhitton committed Aug 23, 2023
1 parent 4358edb commit 7510efe
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions php/pantheon/checks/objectcache.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ public function run() {
}
if ( defined( 'WP_REDIS_OBJECT_CACHE' )) {
$this->alerts[] = array('message'=> 'WP Redis for object caching was found. We recommend using Object Cache Pro as a replacement. <a href="https://docs.pantheon.io/guides/object-cache-pro/installing-configuring/" target="_blank">Learn More</a> about how to install Object Cache Pro.', 'code' => 1);
}
elseif ( ! defined( 'WP_REDIS_CONFIG' ) || ! WP_REDIS_CONFIG ) {
} elseif ( ! defined( 'WP_REDIS_CONFIG' ) || ! WP_REDIS_CONFIG ) {
$this->alerts[] = array("message"=> 'Use Object Cache Pro to speed up your backend. <a href="https://docs.pantheon.io/guides/object-cache-pro/installing-configuring/" target="_blank">Learn More</a>', "code" => 1);
} else {
$this->alerts[] = array("message"=> "Object Cache Pro found", "code" => 0);
Expand Down

0 comments on commit 7510efe

Please sign in to comment.