ZF-9740: Zend_Cache_Core: const BACKEND_NOT_SUPPORTS_TAG typo
Description
There is a typo when throwing the exception that tags are not supported by the backend.
Patch against current trunk:
Index: Zend/Cache/Core.php
===================================================================
--- Zend/Cache/Core.php (revision 21978)
+++ Zend/Cache/Core.php (working copy)
@@ -475,7 +475,7 @@
Zend_Cache::throwException(self::BACKEND_NOT_IMPLEMENTS_EXTENDED_IF);
}
if (!($this->_backendCapabilities['tags'])) {
- Zend_Cache::throwException(self::BACKEND_NOT_SUPPORT_TAG);
+ Zend_Cache::throwException(self::BACKEND_NOT_SUPPORTS_TAG);
}
$ids = $this->_backend->getIdsMatchingTags($tags);
@@ -508,7 +508,7 @@
Zend_Cache::throwException(self::BACKEND_NOT_IMPLEMENTS_EXTENDED_IF);
}
if (!($this->_backendCapabilities['tags'])) {
- Zend_Cache::throwException(self::BACKEND_NOT_SUPPORT_TAG);
+ Zend_Cache::throwException(self::BACKEND_NOT_SUPPORTS_TAG);
}
$ids = $this->_backend->getIdsNotMatchingTags($tags);
@@ -541,7 +541,7 @@
Zend_Cache::throwException(self::BACKEND_NOT_IMPLEMENTS_EXTENDED_IF);
}
if (!($this->_backendCapabilities['tags'])) {
- Zend_Cache::throwException(self::BACKEND_NOT_SUPPORT_TAG);
+ Zend_Cache::throwException(self::BACKEND_NOT_SUPPORTS_TAG);
}
$ids = $this->_backend->getIdsMatchingAnyTags($tags);
@@ -598,7 +598,7 @@
Zend_Cache::throwException(self::BACKEND_NOT_IMPLEMENTS_EXTENDED_IF);
}
if (!($this->_backendCapabilities['tags'])) {
- Zend_Cache::throwException(self::BACKEND_NOT_SUPPORT_TAG);
+ Zend_Cache::throwException(self::BACKEND_NOT_SUPPORTS_TAG);
}
return $this->_backend->getTags();
}
Comments
Posted by Jan Pieper (jpieper) on 2010-04-24T04:43:08.000+0000
Fixed in r21980.
Posted by Ramon Henrique Ornelas (ramon) on 2010-06-25T19:35:39.000+0000
Merged r21980 to branch release-1.10.