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)
Change History (9)
comment:1 by , 14 years ago
comment:2 by , 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 , 14 years ago
Triage Stage: | Unreviewed → Accepted |
---|
I confirm the functions are no longer used.
by , 14 years ago
Attachment: | 16204.diff added |
---|
comment:4 by , 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 , 14 years ago
Triage Stage: | Accepted → Ready for checkin |
---|
comment:6 by , 14 years ago
Try: https://github.com/mbraak/django/commit/75b87801f5a6c07c7fd9cda26c723d581f34c28d.patch for future reference
Patch at https://github.com/mbraak/django/commit/75b87801f5a6c07c7fd9cda26c723d581f34c28d