Zend Framework

remove useless code from Zend_Cache_Backend::_loggerSanity()

Details

  • Type: Task Task
  • Status: Resolved Resolved
  • Priority: Trivial Trivial
  • Resolution: Fixed
  • Affects Version/s: 1.10.0
  • Fix Version/s: 1.10.1
  • Component/s: Zend_Cache
  • Labels:
    None

Description

There are a few useless lines of code in Zend_Cache_Backend::_loggerSanity() since ZF-3875.

try {
    /**
     * @see Zend_Log
     */
    require_once 'Zend/Log.php';
} catch (Zend_Exception $e) {
    Zend_Cache::throwException('Logging feature is enabled but the Zend_Log class is not available', $e);
}

Activity

Hide
Jan Pieper added a comment -

Attached patch.

Show
Jan Pieper added a comment - Attached patch.
Hide
Matthew Weier O'Phinney added a comment -

Fixed in trunk and 1.10 release branch.

Show
Matthew Weier O'Phinney added a comment - Fixed in trunk and 1.10 release branch.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: