diff --git a/app/models/log.rb b/app/models/log.rb index 4a24f5f..71e0794 100644 --- a/app/models/log.rb +++ b/app/models/log.rb @@ -21,8 +21,6 @@ class Log < ActiveRecord::Base attr_accessor :text DOMAIN_LOG = 1 - DOMAIN_RCON_COMMAND = 2 - DOMAIN_RCON_RESPONSE = 3 DOMAIN_INFO = 4 TEAM_MARINES = 1 @@ -52,10 +50,6 @@ class Log < ActiveRecord::Base belongs_to :actor, :class_name => "Rounder" belongs_to :target, :class_name => "Rounder" - # def domains - # return {DOMAIN_LOG => "HL Log", DOMAIN_RCON_COMMAND => "Rcon Command Log", DOMAIN_RCON_RESPONSE => "Rcon Response Log", DOMAIN_INFO => "Action Log"} - # end - def since (created_at - round.start).to_i end