Commit
098a2def06d22b6604a7d698e030ce0bcfee35dc
Exists in
staging
and in
42 other branches
all_pending_tasks_api, api-articles-period, api_roles, caching-rails4, captcha_serpro_plugin, comments_permissions, content-manager-hostspot, elasticsearch, elasticsearch_api, elasticsearch_categories, elasticsearch_filter, elasticsearch_sort, elasticsearch_to_merge, elasticsearch_view, environment-exposes-api, export-comment-api, export-comment-paragraph, export_data, external_followers, federation-webfinger, federation_followers, federation_followers_backend, federation_oauth_provider, federation_webfinger, fix_event_date_issue, fix_notification_email, fix_string_downcase_and_upcase, follower_permition, json_cookie_serializer, login-captcha, master, master_profile_followers, oauth_external_login, oauth_login, private-scraps, private-scraps-rebase, production, production-vendorized, profile_api_improvements, tasks_keep_filter_params, user_mention, webfinger_server
*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 |