Beispiel #1
0
 /**
  * Remove configuration cache. If the observer is saving the cache we
  * actually don't want to remove it, just replace it. Removal of the cache
  * is done from the cache management screen.
  *
  * @return Mage_Core_Model_Config
  */
 public function removeCache()
 {
     if (Mage::registry(self::SAVE_KEY)) {
         return $this;
     }
     Mage::app()->cleanCache(array(self::CACHE_TAG));
     return parent::removeCache();
 }