Added compatibility with redmine 2.6.0