Commit 8a04249fc146357cff3168ac5b8fbbf9caf52c02

Authored by Joenio Costa
1 parent 37b0a694

Remove unused code

(ActionItem3031)
app/controllers/application_controller.rb
... ... @@ -55,17 +55,6 @@ class ApplicationController < ActionController::Base
55 55 !@no_design_blocks && self.class.uses_design_blocks?
56 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 58 # Be sure to include AuthenticationSystem in Application Controller instead
70 59 include AuthenticatedSystem
71 60 include PermissionCheck
... ...
app/helpers/thickbox_helper.rb
... ... @@ -8,7 +8,4 @@ module ThickboxHelper
8 8 def thickbox_close_button(title)
9 9 button_to_function(:close, title, 'tb_remove();')
10 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 11 end
... ...