ZF-9014: remove useless code from Zend_Cache_Backend::_loggerSanity()

Issue Type: Task Created: 2010-01-29T12:24:00.000+0000 Last Updated: 2010-02-03T10:20:05.000+0000 Status: Resolved Fix version(s): - 1.10.1 (10/Feb/10)

Reporter: Jan Pieper (jpieper) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend_Cache

Related issues: Attachments: - ZF-9014.patch


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

<pre class="highlight">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);


Posted by Jan Pieper (jpieper) on 2010-01-29T12:24:33.000+0000

Attached patch.

Posted by Matthew Weier O'Phinney (matthew) on 2010-02-03T10:20:04.000+0000

Fixed in trunk and 1.10 release branch.

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.