Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update for Redmine 6 #124

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion app/controllers/periodictask_controller.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
class PeriodictaskController < ApplicationController
unloadable

class << self
alias_method :before_action, :before_filter
Expand Down
3 changes: 2 additions & 1 deletion app/models/periodictask.rb
Original file line number Diff line number Diff line change
@@ -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'
Expand Down
6 changes: 3 additions & 3 deletions init.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down