summaryrefslogtreecommitdiffstats
path: root/app/controllers
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-09-05 20:51:11 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-09-05 20:51:11 +0000
commit22ad806a439e8163895ae029ce4c462dbf9e7d9d (patch)
tree789319abdfbd2b9d753ef497500c221bb3a98e94 /app/controllers
parent0803e6fcaabe15f3e87c44f0404de4be09484b8e (diff)
downloadredmine-22ad806a439e8163895ae029ce4c462dbf9e7d9d.tar.gz
redmine-22ad806a439e8163895ae029ce4c462dbf9e7d9d.zip
Removed RedCloth checks since it's now supplied with the application.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@708 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/admin_controller.rb1
-rw-r--r--app/controllers/settings_controller.rb1
2 files changed, 0 insertions, 2 deletions
diff --git a/app/controllers/admin_controller.rb b/app/controllers/admin_controller.rb
index 78fd1aa15..43dbb9964 100644
--- a/app/controllers/admin_controller.rb
+++ b/app/controllers/admin_controller.rb
@@ -67,6 +67,5 @@ class AdminController < ApplicationController
@flags = Hash.new
@flags[:default_admin_changed] = User.find(:first, :conditions => ["login=? and hashed_password=?", 'admin', User.hash_password('admin')]).nil?
@flags[:file_repository_writable] = File.writable?(Attachment.storage_path)
- @flags[:textile_available] = ActionView::Helpers::TextHelper.method_defined? "textilize"
end
end
diff --git a/app/controllers/settings_controller.rb b/app/controllers/settings_controller.rb
index fd094adb3..229a4ab3c 100644
--- a/app/controllers/settings_controller.rb
+++ b/app/controllers/settings_controller.rb
@@ -29,6 +29,5 @@ class SettingsController < ApplicationController
params[:settings].each { |name, value| Setting[name] = value }
redirect_to :action => 'edit' and return
end
- @textile_available = ActionView::Helpers::TextHelper.method_defined?("textilize")
end
end