Compatibility with redmine 2.6 and lastest redmine_favoutire_projects plugin