Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
OHR Support
Manage
Activity
Members
Labels
Plan
Issues
97
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Projects
OHR Support
Commits
8ca03f3a
Commit
8ca03f3a
authored
13 years ago
by
Eric Davis
Browse files
Options
Downloads
Patches
Plain Diff
Add ChiliProject::Compatibility to help upgrade third party code
parent
a76ef2a4
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/chili_project/compatibility.rb
+24
-0
24 additions, 0 deletions
lib/chili_project/compatibility.rb
with
24 additions
and
0 deletions
lib/chili_project/compatibility.rb
0 → 100644
+
24
−
0
View file @
8ca03f3a
#-- copyright
# ChiliProject is a project management system.
#
# Copyright (C) 2010-2011 the ChiliProject Team
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# See doc/COPYRIGHT.rdoc for more details.
#++
module
ChiliProject
class
Compatibility
# Is acts_as_journalized included?
#
# Released: ChiliProject 2.0.0
def
self
.
using_acts_as_journalized?
Journal
.
included_modules
.
include?
(
Redmine
::
Acts
::
Journalized
)
end
end
end
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment