6146: Add dns_server_update_command. Update docs & tests for DNS update hooks.
[arvados.git] / services / api / app / mailers / user_notifier.rb
index 1f9ad8c8ae879b778e3dd642cddfb88377d9d2a9..055fe3ad04a27e411d5e0a1b129ff2b3f8ae5887 100644 (file)
@@ -2,22 +2,10 @@ class UserNotifier < ActionMailer::Base
   include AbstractController::Callbacks
 
   default from: Rails.configuration.user_notifier_email_from
-  before_filter :load_variables
 
   def account_is_setup(user)
     @user = user
     mail(to: user.email, subject: 'Welcome to Curoverse')
   end
 
-private
-  def load_variables
-    if Rails.configuration.respond_to?('workbench_address') and
-       not Rails.configuration.workbench_address.nil? and
-       not Rails.configuration.workbench_address.empty? then
-      @wb_address = Rails.configuration.workbench_address
-    else
-      @wb_address = '(Unfortunately, config.workbench_address is not set, please contact your site administrator)'
-    end
-  end
-
 end