Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,8 @@ import org.jetbrains.annotations.ApiStatus
private const val IGNORE_ULTIMATE_EDITION = "promo.ignore.suggested.ide"

internal var isIgnoreIdeSuggestion: Boolean
get() = PropertiesComponent.getInstance().isTrueValue(IGNORE_ULTIMATE_EDITION)
|| PlatformUtils.isJetBrainsClient()
|| (!PlatformUtils.isCommunityEdition() && PluginManagerCore.isDisabled(PluginManagerCore.ULTIMATE_PLUGIN_ID))
set(value) = PropertiesComponent.getInstance().setValue(IGNORE_ULTIMATE_EDITION, value)
get() = true // disable this ad in Rebased
set(value) { /* no-op to prevent any upstream changes from setting it to false */ }

@get:Deprecated("Use `getPluginSuggestionNotificationGroup()`")
@get:ApiStatus.ScheduledForRemoval
Expand Down