[core] Do not analyze Promos for PP information.

This commit is contained in:
vng 2021-02-21 13:18:32 +03:00 committed by Roman Tsisyk
parent 1954dd8a7e
commit 0aa9a8a3f9

View file

@ -888,6 +888,7 @@ void Framework::FillInfoFromFeatureType(FeatureType & ft, place_page::Info & inf
info.SetFromFeatureType(ft);
/* Ban all promos now. Actually, they are already banned on generation phase but anyway.
if (ftypes::IsBookingChecker::Instance()(ft))
{
ASSERT(m_bookingApi, ());
@ -978,6 +979,7 @@ void Framework::FillInfoFromFeatureType(FeatureType & ft, place_page::Info & inf
: place_page::OpeningMode::PreviewPlus);
info.SetSponsoredType(SponsoredType::PromoCatalogOutdoor);
}
*/
FillLocalExperts(ft, info);
FillDescription(ft, info);