@@ -24,7 +24,7 @@ |
||
24 | 24 | public function setTemplate($template) |
25 | 25 | { |
26 | 26 | if ((Mage::getConfig()->getModuleConfig('Mage_Poll')->is('active', 'true')) && |
27 | - (!Mage::getStoreConfig('advanced/modules_disable_output/Mage_Poll'))) |
|
27 | + ( ! Mage::getStoreConfig('advanced/modules_disable_output/Mage_Poll'))) |
|
28 | 28 | { |
29 | 29 | $this->_template = $template; |
30 | 30 | $this->setPollTemplate('turpentine/ajax.phtml', 'poll'); |
@@ -29,8 +29,7 @@ |
||
29 | 29 | $this->_template = $template; |
30 | 30 | $this->setPollTemplate('turpentine/ajax.phtml', 'poll'); |
31 | 31 | $this->setPollTemplate('turpentine/ajax.phtml', 'results'); |
32 | - } |
|
33 | - else |
|
32 | + } else |
|
34 | 33 | { |
35 | 34 | // Mage_Poll is disabled, so do nothing |
36 | 35 | } |
@@ -991,7 +991,7 @@ |
||
991 | 991 | } |
992 | 992 | } |
993 | 993 | EOS; |
994 | - } else{ |
|
994 | + } else { |
|
995 | 995 | $tpl_750 = ' |
996 | 996 | sub vcl_synth { |
997 | 997 | if (resp.status == 750) { |
@@ -33,7 +33,7 @@ |
||
33 | 33 | $cookie = Mage::getSingleton('core/cookie'); |
34 | 34 | $customerGroups = explode(",", Mage::getStoreConfig('turpentine_vcl/customers/customer_group')); |
35 | 35 | |
36 | - if(!in_array($customer->getGroupId(), $customerGroups) && strlen($customerGroups[0]) > 0) { |
|
36 | + if ( ! in_array($customer->getGroupId(), $customerGroups) && strlen($customerGroups[0]) > 0) { |
|
37 | 37 | return; |
38 | 38 | } |
39 | 39 |