Issues

ZF-9848: Use class constant instead of string

Issue Type: Improvement Created: 2010-05-17T08:07:37.000+0000 Last Updated: 2010-05-20T10:00:52.000+0000 Status: Closed Fix version(s): - 1.10.5 (26/May/10)

Reporter: Michael Kliewe (mkliewe) Assignee: Marc Bennewitz (private) (mabe) Tags: - Zend_Cache

Related issues: Attachments:

Description

In Zend_Cache_Backend_Memcached.php is a constant defined

<pre class="highlight">

but it is not used everywhere:

if (count($tags) > 0) { $this->_log("Zend_Cache_Backend_Memcached::save() : tags are unsupported by the Memcached backend"); }

<pre class="highlight">

This could be replaced by

if (count($tags) > 0) { $this->_log(self::TAGS_UNSUPPORTED_BY_SAVE_OF_MEMCACHED_BACKEND); }```

Comments

Posted by Marc Bennewitz (private) (mabe) on 2010-05-20T10:00:51.000+0000

fixed in r22207 (trunk) & r22208 (1.10 branch)

Have you found an issue?

See the Overview section for more details.

Copyright

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

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

Contacts