diff --git a/src/app/code/community/Bitbull/Satispay/Model/Logger.php b/src/app/code/community/Bitbull/Satispay/Model/Logger.php index 6d1f81b..d387647 100644 --- a/src/app/code/community/Bitbull/Satispay/Model/Logger.php +++ b/src/app/code/community/Bitbull/Satispay/Model/Logger.php @@ -14,11 +14,6 @@ class Bitbull_Satispay_Model_Logger */ protected $_filename = 'Bitbull_Satispay.log'; - /** - * @var Mage_Core_Model_Logger - */ - private $_logger; - /** * Standard constructor. */ @@ -27,8 +22,6 @@ public function __construct($parameters) if (is_bool($parameters)) { $this->_force = $parameters; } - - $this->_logger = Mage::getModel('core/logger'); } protected function _log($message, $level, $force) @@ -37,11 +30,7 @@ protected function _log($message, $level, $force) $force = $this->_force; } - if($this->_logger) { - return $this->_logger->log($message, $level, $this->_filename, $force); - } else { - return Mage::log($message, $level, $this->_filename, $force); - } + return Mage::log($message, $level, $this->_filename, $force); } /**