Closed (fixed)
Project:
Ubercart
Version:
7.x-3.x-dev
Component:
User Interface
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
28 Jan 2011 at 14:09 UTC
Updated:
25 Dec 2012 at 18:20 UTC
Jump to comment: Most recent file
Comments
Comment #1
longwaveuc_store_get_icon() is only called three times in 7.x-3.x, let's just remove it entirely in a future version.
Comment #2
tr commentedYes, I agree. I thought it had been eliminated long ago when the dashboard was removed in 7.x-3.x.
Comment #3
longwaveThe three places this is used:
1. In uc_shipping_select_address, where it displays an address book icon that looks out of place anyway.
2. In the "click to open a window with a printable invoice", where it can be replaced with theme('image').
3. In uc_select_address, where it displays an address book icon but is not used in core anyway.
So this patch removes all calls to uc_store_get_icon() and marks the function as deprecated.
Comment #4
longwaveCommitted.