Commit
098a2def06d22b6604a7d698e030ce0bcfee35dc
Exists in
master
and in
27 other branches
1.2+SPB2, 2_split_by_role, add_fields_in_api, api_fixies, api_pagination, api_private_token, api_tasks, article_hit_count, blog_page_bug, checkbox_to_user_can_edit_page, communities_ratings, communities_ratings_moderation, community_ratings_rebase, fix_cloned_article_parent, fix_gallery_image_url, fix_javascript_categories, fix_optional_fields, fix_suggest_article, fix_user_email_validation, highlight_block_fix, notification_plugin, notification_plugin_rebase, script_to_update, split_by_role, temp_ratings, 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 |