No ads, act two.

This commit is contained in:
Rob 2016-06-09 12:13:17 -07:00
parent ad37fd3460
commit aa7f2af700

View file

@ -265,6 +265,7 @@ module.exports = class CampaignView extends RootView
@openModalView authModal
showAds: ->
return false # No ads for now.
if application.isProduction() && !me.isPremium() && !me.isTeacher() && !window.serverConfig.picoCTF
return me.getCampaignAdsGroup() is 'leaderboard-ads'
false