mirror of
https://github.com/meineerde/redmine.git
synced 2025-10-17 17:01:01 +00:00
Merged r4288 from trunk.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.0-stable@4328 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
a04bbfb165
commit
e2266a92da
@ -180,7 +180,9 @@ rescue LoadError
|
||||
log("This script requires activeresource.\nRun 'gem install activeresource' to install it.", :exit => true)
|
||||
end
|
||||
|
||||
class Project < ActiveResource::Base; end
|
||||
class Project < ActiveResource::Base
|
||||
self.headers["User-agent"] = "Redmine repository manager/#{Version}"
|
||||
end
|
||||
|
||||
log("querying Redmine for projects...", :level => 1);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user