noosfero | plugins: only call event on plugin if it is defined (da84575e)

Bráulio Bhavamitra gitlab at gitlab.com
Tue Mar 31 20:49:22 BRT 2015


New comment for Commit da84575e

https://gitlab.com/noosfero/noosfero/commit/da84575ee29154fa4f24c9acdfce9ec16a7acb5b#note_1034956


Author: Bráulio Bhavamitra

@terceiro I submitted this because the previous behaviour was to call default value before plugins dispatch loop and the default value is also called for each plugin that hasn't defined the given hotspot. I think this problem is pretty serious in performance terms. If you still think this should be reverted, please let me know and I'll do it.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20150331/896c6f47/attachment-0001.html>


More information about the Noosfero-dev mailing list