From 032b21874ab937940b640a04f96c8960fd305464 Mon Sep 17 00:00:00 2001 From: cblanc Date: Mon, 18 May 2015 17:24:18 +0100 Subject: [PATCH] Remove rcon from log model --- app/models/log.rb | 6 ------ 1 file changed, 6 deletions(-) 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