diff --git a/app/controllers/periodictask_controller.rb b/app/controllers/periodictask_controller.rb index d3c56b2..d7649e8 100644 --- a/app/controllers/periodictask_controller.rb +++ b/app/controllers/periodictask_controller.rb @@ -1,5 +1,4 @@ class PeriodictaskController < ApplicationController - unloadable class << self alias_method :before_action, :before_filter diff --git a/app/models/periodictask.rb b/app/models/periodictask.rb index 6fbacae..e74e431 100644 --- a/app/models/periodictask.rb +++ b/app/models/periodictask.rb @@ -1,5 +1,6 @@ class Periodictask < ActiveRecord::Base - unloadable + include Redmine::I18n + belongs_to :project belongs_to :assigned_to, :class_name => 'Principal', :foreign_key => 'assigned_to_id' belongs_to :issue_category, :class_name => 'IssueCategory', :foreign_key => 'issue_category_id' diff --git a/init.rb b/init.rb index f518149..b067994 100644 --- a/init.rb +++ b/init.rb @@ -9,9 +9,9 @@ Redmine::Plugin.register :periodictask do name 'Redmine Periodictask plugin' author 'Julian Perelli' - description 'Plugin to create a task periodically by defining an interval' - version '5.0.0' - url 'https://github.com/jperelli/Redmine-Periodic-Task/' + description 'Plugin to create a task periodically by defining an interval, forked and updated for Redmine 6' + version '6.0.0' + url 'https://github.com/tuzumkuru/Redmine-Periodic-Task' author_url 'https://jperelli.com.ar/' project_module :periodictask do