Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
file system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
30 Apr 2013 at 09:10 UTC
Updated:
29 Jul 2014 at 22:15 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
fubhy commentedComment #2
enhdless commentedPatch works great.
Comment #3
chx commentedThat's really weird. The patch is correct but did you run git blame ; did you look why such a weird thing was done?
Comment #4
fubhy commented1: instanceof-1983136-1.patch queued for re-testing.
Comment #5
fubhy commentedNope, didn't do that yet. I guess I thought it was just overlooked at some point in a larger patch. Git blame reveals that it was moved in https://drupal.org/node/1323124 and originally implemented in https://drupal.org/node/602520 which was in 2009. That issue doesn't really explain why it was implemented like this specifically. It's a short issue with quick commit and only 3 people involved so maybe that (and lacking OO experience back in 2009) is the reason ;).
Comment #6
chx commentedYes, that sounds correct, thanks for looking. I am always curious when something is out of line -- either maybe there was a reason (we know PHP is ...) or maybe there are other instances but neither seems to be case so we are good.
Comment #7
webchickCommitted and pushed to 8.x. Nice clean-up!