Commit
098a2def06d22b6604a7d698e030ce0bcfee35dc
Exists in
master
and in
21 other branches
activate_plugin, api_fixies, api_tasks, article_blog_visualization_format, article_layout_refactoring, article_layout_temp, blog_page_bug, clone_article, communities_ratings, design_template, event_layout, fix_forum, fix_optional_fields, fix_suggest_article, folder_improvments, manage_organization, news_page, script_to_update, template_mirror_block, tests, tests_fixies
*Block: remove unecessary editable? methods
The superclass methos alteady returns true anyway.
| @@ -85,8 +85,4 @@ class FeedReaderBlock < Block |
| @@ -85,8 +85,4 @@ class FeedReaderBlock < Block |
85
| block_title(title) + formatted_feed_content |
85
| block_title(title) + formatted_feed_content |
86
| end |
86
| end |
87
| |
87
| |
88
| - def editable? |
| |
89
| - true |
| |
90
| - end |
| |
91
| - |
| |
92
| end |
88
| end |
| @@ -84,10 +84,6 @@ class LinkListBlock < Block |
| @@ -84,10 +84,6 @@ class LinkListBlock < Block |
84
| end |
84
| end |
85
| end |
85
| end |
86
| |
86
| |
87
| - def editable? |
| |
88
| - true |
| |
89
| - end |
| |
90
| - |
| |
91
| def icons_options |
87
| def icons_options |
92
| ICONS.map do |i| |
88
| ICONS.map do |i| |
93
| "<span title=\"#{i[1]}\" class=\"icon-#{i[0]}\" onclick=\"changeIcon(this, '#{i[0]}')\"></span>".html_safe |
89
| "<span title=\"#{i[1]}\" class=\"icon-#{i[0]}\" onclick=\"changeIcon(this, '#{i[0]}')\"></span>".html_safe |
| @@ -16,10 +16,6 @@ class MainBlock < Block |
| @@ -16,10 +16,6 @@ class MainBlock < Block |
16
| true |
16
| true |
17
| end |
17
| end |
18
| |
18
| |
19
| - def editable? |
| |
20
| - true |
| |
21
| - end |
| |
22
| - |
| |
23
| def cacheable? |
19
| def cacheable? |
24
| false |
20
| false |
25
| end |
21
| end |
| @@ -23,10 +23,6 @@ class ProfileImageBlock < Block |
| @@ -23,10 +23,6 @@ class ProfileImageBlock < Block |
23
| end |
23
| end |
24
| end |
24
| end |
25
| |
25
| |
26
| - def editable? |
| |
27
| - true |
| |
28
| - end |
| |
29
| - |
| |
30
| def cacheable? |
26
| def cacheable? |
31
| false |
27
| false |
32
| end |
28
| end |
| @@ -11,8 +11,4 @@ class ProfileSearchBlock < Block |
| @@ -11,8 +11,4 @@ class ProfileSearchBlock < Block |
11
| end |
11
| end |
12
| end |
12
| end |
13
| |
13
| |
14
| - def editable? |
| |
15
| - true |
| |
16
| - end |
| |
17
| - |
| |
18
| end |
14
| end |