Commit 5125e71328fd962be44cb9f8ebcee0324687b69e
1 parent
7dba8f99
Exists in
theme-brasil-digital-from-staging
and in
9 other branches
removing old toolbar actions
Showing
1 changed file
with
0 additions
and
17 deletions
Show diff stats
lib/noosfero/plugin.rb
| ... | ... | @@ -371,17 +371,6 @@ class Noosfero::Plugin |
| 371 | 371 | nil |
| 372 | 372 | end |
| 373 | 373 | |
| 374 | - | |
| 375 | - # -> Adds buttons to manage members page | |
| 376 | - # returns = { :title => title, :icon => icon, :url => url } | |
| 377 | - # title = name that will be displayed. | |
| 378 | - # icon = css class name (for customized icons include them in a css file). | |
| 379 | - # url = url or route to which the button will redirect. | |
| 380 | - def article_toolbar_extra_buttons | |
| 381 | - nil | |
| 382 | - end | |
| 383 | - | |
| 384 | - | |
| 385 | 374 | # This method will be called just before a comment is saved to the database. |
| 386 | 375 | # |
| 387 | 376 | # It can modify the comment in several ways. In special, a plugin can call |
| ... | ... | @@ -558,12 +547,6 @@ class Noosfero::Plugin |
| 558 | 547 | nil |
| 559 | 548 | end |
| 560 | 549 | |
| 561 | - # -> Adds adicional content to article toolbar buttons | |
| 562 | - # returns = lambda block that creates html code | |
| 563 | - def article_extra_toolbar_buttons(article) | |
| 564 | - nil | |
| 565 | - end | |
| 566 | - | |
| 567 | 550 | # -> Adds adicional content to article header |
| 568 | 551 | # returns = lambda block that creates html code |
| 569 | 552 | def article_header_extra_contents(article) | ... | ... |