Opened 14 years ago

Closed 13 years ago

#16204 closed Cleanup/optimization (fixed)

Remove unused functions in admin core.js (getCorrectYear and getISODate).

Reported by: mbraak Owned by: nobody
Component: contrib.admin Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Functions getCorrectYear and getISODate are not used anymore. They should be removed.

Attachments (1)

16204.diff (1.2 KB ) - added by Stephen Burrows 14 years ago.

Download all attachments as: .zip

Change History (9)

comment:2 by Aymeric Augustin, 14 years ago

Has patch: unset

There must be a way to download the raw patch from github, but it's not obvious. Could you attach it to this ticket instead?

I know the patch's trivial. We're just enforcing the same procedure for everyone, so that core developers can commit tickets as fast as possible :)

comment:3 by Aymeric Augustin, 14 years ago

Triage Stage: UnreviewedAccepted

I confirm the functions are no longer used.

by Stephen Burrows, 14 years ago

Attachment: 16204.diff added

comment:4 by Stephen Burrows, 14 years ago

Has patch: set

There actually isn't a way (that I could see at least) to download the raw diff from github. So here's one made from applying the patch to my django.

comment:5 by Julien Phalip, 14 years ago

Triage Stage: AcceptedReady for checkin

comment:7 by Stephen Burrows, 14 years ago

Hah - great use of <link rel="alternate">. Thanks for the tip.

comment:8 by Malcolm Tredinnick, 13 years ago

Resolution: fixed
Status: newclosed

In [16642]:

Removed unused admin Javascript functions from source.

Fixed #16204. Thanks, melinath.

Note: See TracTickets for help on using tickets.
Back to Top