sUnit == 'account' && $oAlert->sAction == 'added'){ $oModule = BxDolModule::getInstance('bx_mapshow'); $oModule->addIpInfoToDb($oAlert->iObject, getVisitorIP()); } } } /** @} */