Sfoglia il codice sorgente

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 15 anni fa
parent
commit
17875c39bf
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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);
 
         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;