public function Tinhte_XenTag_actionSaveAfterTransaction(XenForo_DataWriter_Forum $dw) { if (!empty($this->_tagger)) { unset($GLOBALS[Tinhte_XenTag_Constants::GLOBALS_CONTROLLERADMIN_FORUM_SAVE]); if ($dw->isInsert()) { $this->_tagger->setContent($dw->get('node_id'), true); } $this->_tagger->save(); } }