Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
other
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
3 Sep 2013 at 08:24 UTC
Updated:
29 Jul 2014 at 22:51 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
beowulf1416 commentedremoved unused variable $has_time. I was unable to run DateTimePlus test because I haven't installed the Intl PECL extension
Comment #2
yesct commented@beowulf1416 Thanks for making so many patches. How are you feeling about them?
I added some reviewer notes to the meta. If you review a few of these unused var patches, and have advice to add to the meta, please go ahead and edit that meta issue summary. Anyone can edit it.
If you jump into irc http://drupal.org/irc into #drupal-contribute or the core mentoring office hours https://drupal.org/core-mentoring , we can help match you up with some different issues in some other areas.
Comment #3
CaptainWonky commentedPatch applies ok.
All instances of
$has_timehave been removed, so the patch works as far as the issue title is concerned.However, the issue summary includes two other variables:
$titleand$hour$titleseems to be an unused local variable.$houris used, but I assume it's the statement$hour = 0which needs to be removed, since$houris not used afterwards.Comment #4
beowulf1416 commentedremoving $hour and $title also.
great eyes!
Comment #5
michaelhiiva commentedThe #4 patch is not quite correct, should include changes made in #1 as the patch has not been reviewed and commited. Changes in #4 otherwise seem fine and patch applies. Changing status to needs work.
Comment #6
netsensei commentedOkay. Rerolled the patch. With an interdiff showing the integration of #4 in #1.
Comment #7
areke commentedThis applies cleanly and doesn't break any functionality; it works well. Thank you!
Comment #8
areke commentedComment #9
catchCommitted/pushed to 8.x, thanks!