mirror of https://github.com/gophish/gophish
Remove Unused Variable (#1774)
The timeline_series_data variable is created twice before using it. This resolves that.pull/1785/head
parent
8162a80cb1
commit
2e3aacd22d
|
@ -634,15 +634,6 @@ function poll() {
|
||||||
campaign = c
|
campaign = c
|
||||||
/* Update the timeline */
|
/* Update the timeline */
|
||||||
var timeline_series_data = []
|
var timeline_series_data = []
|
||||||
$.each(campaign.timeline, function (i, event) {
|
|
||||||
var event_date = moment.utc(event.time).local()
|
|
||||||
timeline_series_data.push({
|
|
||||||
email: event.email,
|
|
||||||
x: event_date.valueOf(),
|
|
||||||
y: 1
|
|
||||||
})
|
|
||||||
})
|
|
||||||
var timeline_series_data = []
|
|
||||||
$.each(campaign.timeline, function (i, event) {
|
$.each(campaign.timeline, function (i, event) {
|
||||||
var event_date = moment.utc(event.time).local()
|
var event_date = moment.utc(event.time).local()
|
||||||
timeline_series_data.push({
|
timeline_series_data.push({
|
||||||
|
|
Loading…
Reference in New Issue