Commit d1d530b192dd7953d76f9603aa1c02d7eeaa12d3

Authored by Rodrigo Souto
1 parent a52480d8

[macro-support-review] Removing unnecessary hot spot

Showing 1 changed file with 0 additions and 5 deletions   Show diff stats
lib/noosfero/plugin.rb
... ... @@ -532,11 +532,6 @@ class Noosfero::Plugin
532 532 # returns = string with reason of expiration
533 533 elsif method.to_s =~ /^content_expire_(#{content_actions.join('|')})$/
534 534 nil
535   - # -> Answers to a specific macro
536   - # expects: params, inner_html, content
537   - # returns = html_code
538   - elsif method.to_s =~ /^macro_(.+)$/
539   - nil
540 535 else
541 536 super
542 537 end
... ...