Skip to content

Instantly share code, notes, and snippets.

View splendidinternet's full-sized avatar

Splendid Internet GmbH splendidinternet

View GitHub Profile
@splendidinternet
splendidinternet / Varien_Cache_Core.patch
Created June 7, 2011 09:07 — forked from fbrnc/Varien_Cache_Core.patch
Patch for Magento's two-level cache priority bug
Index: lib/Varien/Cache/Core.php
===================================================================
--- lib/Varien/Cache/Core.php (revision 63515)
+++ lib/Varien/Cache/Core.php (working copy)
@@ -70,7 +70,7 @@
* @throws Zend_Cache_Exception
* @return boolean True if no problem
*/
- public function save($data, $id = null, $tags = array(), $specificLifetime = false, $priority = 8)
+ public function save($data, $id = null, $tags = array(), $specificLifetime = false, $priority = 10)