How to get current Redmine version from code
I need to see what version of Redmine is installed so my pugin can do one thing if the version is equal to or higher than 2.1. Does anyone know how to do this? I have Googled but found nothing. I know you can see what rails version is running using Rails::VERSION::MAJOR. Is there a similar method for the Redmine version?
Nevermind, The light bulb went off and I Googled Redmine::VERSION::MAJOR and found reults.
Redmine::VERSION::MAJOR == 2 and Redmine::VERSION::MINOR >= 1
Should have known it would be that easy.