waffle cleanup: remove 'site-events' switch
This commit is contained in:
Родитель
b596ed6fba
Коммит
282f23d3fb
|
@ -4,10 +4,7 @@
|
|||
|
||||
{% set c = collection if collection %}
|
||||
|
||||
{% block bodyclass %}
|
||||
statistics
|
||||
{{ 'waffle-site-events' if waffle.switch('site-events') else '' }}
|
||||
{% endblock %}
|
||||
{% block bodyclass %}statistics{% endblock %}
|
||||
|
||||
{% block extrahead %}
|
||||
{{ css('zamboni/stats') }}
|
||||
|
|
|
@ -22,7 +22,7 @@ z.StatsManager = (function() {
|
|||
addonId = parseInt($(".primary").attr("data-addon_id"), 10),
|
||||
baseURL = $(".primary").attr("data-base_url"),
|
||||
pendingFetches = 0,
|
||||
siteEventsEnabled = $('body').hasClass('waffle-site-events'),
|
||||
siteEventsEnabled = true,
|
||||
writeInterval = false,
|
||||
lookup = {},
|
||||
msDay = 24 * 60 * 60 * 1000; // One day in milliseconds.
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
DELETE FROM waffle_flag_amo WHERE name = 'site-events';
|
||||
DELETE FROM waffle_flag_mkt WHERE name = 'site-events';
|
|
@ -2,10 +2,7 @@
|
|||
|
||||
{% set range = view.range %}
|
||||
|
||||
{% block bodyclass %}
|
||||
statistics
|
||||
{{ 'waffle-site-events' if waffle.switch('site-events') else '' }}
|
||||
{% endblock %}
|
||||
{% block bodyclass %}statistics{% endblock %}
|
||||
|
||||
{% block extrahead %}
|
||||
{{ css('mkt/stats') }}
|
||||
|
|
Загрузка…
Ссылка в новой задаче