Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
link.module
Priority:
Minor
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
4 Sep 2013 at 03:38 UTC
Updated:
29 Jul 2014 at 22:52 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
smira commentedComment #2
parthipanramesh commentedsorry, patch failed..
Comment #3
areke commentedComment #5
areke commented3: 2081169-3.patch queued for re-testing.
Comment #6
rivimeyReviewed the patch and it seems perfectly sane. Applied the patch to current 8.x HEAD and it applies ok with an offset of 3 lines. I have attched a reroll of the patch to make it current. Recommend RTBC
Comment #7
xjmLet's also check the rest of the module and confirm that there are no other unused local variables.
Comment #8
rivimeyThe rest of that file (LinkItem.php) looks fine w.r.t unused variables: there aren't many to not be used.
The only thing I could possibly question is in function isEmpty() at line 121, where it seems to be assumed that get('url') returns an object that can have getValue applied. Is there any point in checking get()'s return value before dereferencing?
Comment #9
enhdless commentedPatch #3 works great!
Comment #10
webchickCommitted and pushed to 8.x. Thanks!