protected function _postDelete() { if (!$this->getExtraData(self::EXTRA_DATA_SKIP_REBUILD)) { $this->_getWidgetModel()->buildCache(); } WidgetFramework_Core::clearCachedWidgetById($this->get('widget_id')); }
protected function _postDelete() { $this->_deleteMasterPhrase($this->_getWidgetModel()->getWidgetTitlePhrase($this->get('widget_id'))); if ($this->_isTemplateWidget($this->get('class'))) { $this->_getWidgetRendererTemplateModel()->dwPostDelete($this->getMergedData(), $this->getWidgetOptions()); } $this->_rebuildGlobalCache(); WidgetFramework_Core::clearCachedWidgetById($this->get('widget_id')); $this->_isDelete = true; }