Cleanup in rake scripts.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9423 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang committed 2012-04-15 15:57:35 +00:00
1 parent 147f717c86
commit f529cdddb3
3 files changed
+12 -33

No files matched your search

+12
View File
@@ -29,4 +29,16 @@ namespace :redmine do
Token.destroy_expired
end
end
namespace :watchers do
desc 'Removes watchers from what they can no longer view.'
task :prune => :environment do
Watcher.prune
end
end
desc 'Fetch changesets from the repositories'
task :fetch_changesets => :environment do
Repository.fetch_changesets
end
end