Skip to content

Commit

Permalink
Fixing code sniff
Browse files Browse the repository at this point in the history
  • Loading branch information
steverobbins committed Mar 14, 2018
1 parent aab5165 commit 943b037
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,7 @@ public function getServices()
$config = Mage::app()->getConfig();
foreach (array('cache', 'full_page_cache', 'fpc') as $cacheType) {
$node = $config->getXpath('global/' . $cacheType . '[1]');
if (isset($node[0]->backend) && in_array((string)$node[0]->backend, array(
'Cm_Cache_Backend_Redis',
'Mage_Cache_Backend_Redis'
))) {
if (isset($node[0]->backend) && in_array((string)$node[0]->backend, array('Cm_Cache_Backend_Redis', 'Mage_Cache_Backend_Redis'))) {
$this->_services[] = $this->_buildServiceArray(
$this->__(str_replace('_', ' ', uc_words($cacheType))),
$node[0]->backend_options->server,
Expand Down

0 comments on commit 943b037

Please sign in to comment.