Преглед на файлове

[ZF-6943]Wrong error message in Zend_Cache_Backend_TwoLevels Exception

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@15931 44c647ce-9c0f-0410-b52a-842ac1e357ba
yoshida@zend.co.jp преди 16 години
родител
ревизия
8e75ef2b30
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      library/Zend/Cache/Backend/TwoLevels.php

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

@@ -132,7 +132,7 @@ class Zend_Cache_Backend_TwoLevels extends Zend_Cache_Backend implements Zend_Ca
             Zend_Cache::throwException('slow_backend must implement the Zend_Cache_Backend_ExtendedInterface interface');
         }
         if (!in_array('Zend_Cache_Backend_ExtendedInterface', class_implements($this->_fastBackend))) {
-            Zend_Cache::throwException('slow_backend must implement the Zend_Cache_Backend_ExtendedInterface interface');
+            Zend_Cache::throwException('fast_backend must implement the Zend_Cache_Backend_ExtendedInterface interface');
         }
         $this->_slowBackend->setDirectives($this->_directives);
         $this->_fastBackend->setDirectives($this->_directives);