@@ -138,7 +138,7 @@ |
||
| 138 | 138 | $result = false; |
| 139 | 139 | |
| 140 | 140 | if ($helper->csrfFixupNeeded()) { |
| 141 | - if ($socket->getVersion() === '4.0' || $socket->getVersion() === '4.1' ) { |
|
| 141 | + if ($socket->getVersion() === '4.0' || $socket->getVersion() === '4.1') { |
|
| 142 | 142 | $paramName = 'feature'; |
| 143 | 143 | $value = $socket->param_show($paramName); |
| 144 | 144 | $value = explode("\n", $value['text']); |
@@ -66,7 +66,7 @@ |
||
| 66 | 66 | public function fixCmRedisSessionLocks($eventObject) { |
| 67 | 67 | if (Mage::helper('core')->isModuleEnabled('Cm_RedisSession')) { |
| 68 | 68 | if ( ! empty($_COOKIE['frontend']) && 'crawler-session' == $_COOKIE['frontend'] && |
| 69 | - !defined('CM_REDISSESSION_LOCKING_ENABLED') ) { |
|
| 69 | + ! defined('CM_REDISSESSION_LOCKING_ENABLED')) { |
|
| 70 | 70 | define('CM_REDISSESSION_LOCKING_ENABLED', false); |
| 71 | 71 | } |
| 72 | 72 | } |