Bug 1443667 - Dead code removal: grpMap

This object is no longer used since we stopped usign clonejobs.js
This commit is contained in:
Cameron Dawson 2018-03-07 14:54:15 -08:00
Родитель 6e2242b2c5
Коммит 08e1d30877
1 изменённых файлов: 0 добавлений и 12 удалений

Просмотреть файл

@ -249,7 +249,6 @@ treeherder.factory('ThResultSetStore', [
// maps to help finding objects to update/add
rsMap: {},
jobMap: {},
grpMap: {},
unclassifiedFailureMap: {},
// count of unclassified for the currently enabled tiers
unclassifiedFailureCountForTiers: 0,
@ -393,17 +392,6 @@ treeherder.factory('ThResultSetStore', [
};
plMapElement.groups[gr_obj.symbol] = grMapElement;
// check if we need to copy groupState from an existing group
// object. This would be set if a user explicitly clicked
// a group to toggle it expanded/collapsed.
// This value will have been overwritten by the _.extend
// in mapPushJobs.
var oldGroup = repoData.grpMap[gr_obj.mapKey];
if (oldGroup) {
gr_obj.groupState = oldGroup.grp_obj.groupState;
}
repoData.grpMap[gr_obj.mapKey] = grMapElement;
// jobs
for (var j_i = 0; j_i < gr_obj.jobs.length; j_i++) {
var job_obj = gr_obj.jobs[j_i];