In the profile plugin start.php file I don't understand this over-ride:
elgg_register_plugin_hook_handler('entity:icon:url', 'user', 'profile_set_icon_url');
elgg_unregister_plugin_hook_handler('entity:icon:url', 'user', 'user_avatar_hook');
also we elgg_register_simplecache_view 6 times but it appears only one size gets called.
Can you shed some light on this? If I comment all this out it doesn't seem to effect the plugin.
Thanks in advance.
Ray
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- Juho Jaakkola@juho.jaakkola
Juho Jaakkola - 0 likes
You must log in to post replies.Good catch. There doesn't seem to be much difference with those. And it seems like the views we're registering for simplecache are not even used anywhere.
These issues should get fixed once we do an overhaul for the icons system: https://github.com/Elgg/Elgg/issues/6152