Explorar o código

ZF-9848: Use class constant instead of string

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@22207 44c647ce-9c0f-0410-b52a-842ac1e357ba
mabe %!s(int64=15) %!d(string=hai) anos
pai
achega
17875c39bf
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      library/Zend/Cache/Backend/Memcached.php

+ 1 - 1
library/Zend/Cache/Backend/Memcached.php

@@ -224,7 +224,7 @@ class Zend_Cache_Backend_Memcached extends Zend_Cache_Backend implements Zend_Ca
         $result = @$this->_memcache->set($id, array($data, time(), $lifetime), $flag, $lifetime);
         $result = @$this->_memcache->set($id, array($data, time(), $lifetime), $flag, $lifetime);
 
 
         if (count($tags) > 0) {
         if (count($tags) > 0) {
-            $this->_log("Zend_Cache_Backend_Memcached::save() : tags are unsupported by the Memcached backend");
+            $this->_log(self::TAGS_UNSUPPORTED_BY_SAVE_OF_MEMCACHED_BACKEND);
         }
         }
 
 
         return $result;
         return $result;