Skip to content

Commit

Permalink
fix use of getStoreConfig in getDefaultBackend and getAdminBackend
Browse files Browse the repository at this point in the history
  • Loading branch information
csdougliss committed Sep 1, 2015
1 parent 4863821 commit f38cf73
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ protected function _getDefaultBackend() {
'first_byte_timeout' => $timeout . 's',
'between_bytes_timeout' => $timeout . 's',
);
if ( Mage::getStoreConfigFlag( 'turpentine_vcl/backend/load_balancing' ) != 'no' ) {
if ( Mage::getStoreConfig( 'turpentine_vcl/backend/load_balancing' ) != 'no' ) {
return $this->_vcl_director( 'default', $default_options );
} else {
return $this->_vcl_backend( 'default',
Expand All @@ -313,7 +313,7 @@ protected function _getAdminBackend() {
'first_byte_timeout' => $timeout . 's',
'between_bytes_timeout' => $timeout . 's',
);
if ( Mage::getStoreConfigFlag( 'turpentine_vcl/backend/load_balancing' ) != 'no' ) {
if ( Mage::getStoreConfig( 'turpentine_vcl/backend/load_balancing' ) != 'no' ) {
return $this->_vcl_director( 'admin', $admin_options );
} else {
return $this->_vcl_backend( 'admin',
Expand Down

0 comments on commit f38cf73

Please sign in to comment.