From 4ced746122d22ff7eb4ebea4b190fd47076f5a29 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Sat, 5 Dec 2015 20:45:44 +0100 Subject: [PATCH] Fixed reload issue. --- app/models/observer/ticket/stats_reopen.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/models/observer/ticket/stats_reopen.rb b/app/models/observer/ticket/stats_reopen.rb index d08af23ed..9b16c33b4 100644 --- a/app/models/observer/ticket/stats_reopen.rb +++ b/app/models/observer/ticket/stats_reopen.rb @@ -1,6 +1,8 @@ # Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/ -require 'stats/ticket_reopen' + class Observer::Ticket::StatsReopen < ActiveRecord::Observer + load 'stats/ticket_reopen.rb' + observe 'ticket' def after_create(record)