Skip to content

Commit df10be7

Browse files
committed
removed debug code
1 parent a6334aa commit df10be7

File tree

1 file changed

+1
-6
lines changed
  • src/Step/Deploy/PreDeploy/ConfigUpdate

1 file changed

+1
-6
lines changed

src/Step/Deploy/PreDeploy/ConfigUpdate/Cache.php

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,6 @@ public function execute()
9393

9494
if (isset($cacheConfig['frontend'])) {
9595
$cacheConfig['frontend'] = array_filter($cacheConfig['frontend'], function ($cacheFrontend) {
96-
print_r($this->configReader->read());
97-
echo 'debug code';
98-
print_r($cacheFrontend);
99-
echo 'debug code end here';
10096
$backend = $cacheFrontend['backend'];
10197
$customCacheBackend = $cacheFrontend['_custom_valkey_backend']
10298
?? $cacheFrontend['_custom_redis_backend']
@@ -187,8 +183,7 @@ private function checkBackendModel(string $backend): void
187183
$notAllowedValkeyBackend = [
188184
CacheFactory::VALKEY_BACKEND_VALKEY_CACHE
189185
];
190-
$isValkeyEnabled= $this->cacheConfig->isValkeyEnabled();
191-
print_r($isValkeyEnabled);
186+
// $isValkeyEnabled= $this->cacheConfig->isValkeyEnabled(); // @TODO
192187
try {
193188
if (in_array($backend, $notAllowedValkeyBackend, true)
194189
&& !$this->magentoVersion->isGreaterOrEqual('2.4.8')) {

0 commit comments

Comments
 (0)