Commit 8a04249fc146357cff3168ac5b8fbbf9caf52c02
1 parent
37b0a694
Exists in
master
and in
29 other branches
Remove unused code
(ActionItem3031)
Showing
2 changed files
with
0 additions
and
14 deletions
Show diff stats
app/controllers/application_controller.rb
@@ -55,17 +55,6 @@ class ApplicationController < ActionController::Base | @@ -55,17 +55,6 @@ class ApplicationController < ActionController::Base | ||
55 | !@no_design_blocks && self.class.uses_design_blocks? | 55 | !@no_design_blocks && self.class.uses_design_blocks? |
56 | end | 56 | end |
57 | 57 | ||
58 | - def self.no_design_theme | ||
59 | - @no_design_theme | ||
60 | - end | ||
61 | - def self.uses_design_theme? | ||
62 | - !@no_design_theme | ||
63 | - end | ||
64 | - def uses_design_theme | ||
65 | - !@no_design_theme && self.class.uses_design_theme? | ||
66 | - end | ||
67 | - | ||
68 | - | ||
69 | # Be sure to include AuthenticationSystem in Application Controller instead | 58 | # Be sure to include AuthenticationSystem in Application Controller instead |
70 | include AuthenticatedSystem | 59 | include AuthenticatedSystem |
71 | include PermissionCheck | 60 | include PermissionCheck |
app/helpers/thickbox_helper.rb
@@ -8,7 +8,4 @@ module ThickboxHelper | @@ -8,7 +8,4 @@ module ThickboxHelper | ||
8 | def thickbox_close_button(title) | 8 | def thickbox_close_button(title) |
9 | button_to_function(:close, title, 'tb_remove();') | 9 | button_to_function(:close, title, 'tb_remove();') |
10 | end | 10 | end |
11 | - def thickbox_copy_to_clipboard_button(title) | ||
12 | - button_to_function(:'copy-to-clipboard', title, 'tb_copy_to_clipboard();') | ||
13 | - end | ||
14 | end | 11 | end |