Explorar o código

Ticket #2040 - Clear Item cache after Common post edit.

AntonLV %!s(int64=7) %!d(string=hai) anos
pai
achega
3d72676686
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      modules/boonex/timeline/classes/BxTimelineModule.php

+ 1 - 0
modules/boonex/timeline/classes/BxTimelineModule.php

@@ -2293,6 +2293,7 @@ class BxTimelineModule extends BxBaseModNotificationsModule implements iBxDolCon
                 $oMetatags->metaAdd($iId, $sText);
             $oMetatags->locationsAddFromForm($iId, $this->_oConfig->CNF['FIELD_LOCATION_PREFIX']);
 
+            $this->getCacheItemObject()->removeAllByPrefix($this->_oConfig->getPrefix('cache_item') . $iId);
             $this->_oDb->deleteCache(array('event_id' => $iId));
 
             return array(