Closed Bug 685880 Opened 13 years ago Closed 13 years ago

remove dead code from TelemetryPing.js

Categories

(Toolkit :: Telemetry, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla11

People

(Reporter: froydnj, Assigned: froydnj)

References

Details

Attachments

(1 file, 1 obsolete file)

After the fix for bug 668392, the getMetadata function in TelemetryPing.js is unused.  Trivial patch for deletion coming up.
Attached patch remove now-unused getMetadata function (obsolete) (deleted) — Splinter Review
Trivial patch.
Assignee: nobody → nfroyd
Attachment #559472 - Flags: review?(mak77)
Comment on attachment 559472 [details] [diff] [review]
remove now-unused getMetadata function

Review of attachment 559472 [details] [diff] [review]:
-----------------------------------------------------------------

it looks fine, the other patch moved the method due to the need of using a local property but forgot to remove the original.
I'm not a peer of this component, but Taras is cc-ed and I assume he saw the review request and is fine with it.
Attachment #559472 - Flags: review?(mak77) → review+
Keywords: checkin-needed
Scratch that checkin-needed, looks like trunk somehow lost the local property?
Keywords: checkin-needed
bug 668392 has indeed been backed out, so you may ask there to remove the unused function next time it will be pushed.
Blocks: 668392
Bah, I forgot about pinging here.

On the plus side, we're fixing an actual bug now, as the patch for bug 668392 removed our collection of CPU capability fields.
Attachment #559472 - Attachment is obsolete: true
Attachment #574366 - Flags: review?(tglek)
Comment on attachment 574366 [details] [diff] [review]
remove unused getMetadata and update sysinfo fields

i should not be allowed to write code sometimes
Attachment #574366 - Flags: review?(tglek) → review+
checkin-needed for real this time.
Keywords: checkin-needed
http://hg.mozilla.org/integration/mozilla-inbound/rev/27c0d94ef09e
Keywords: checkin-needed
Target Milestone: --- → mozilla11
https://hg.mozilla.org/mozilla-central/rev/27c0d94ef09e
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: