aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoachim Filip Ignacy Bartosik <jbartosik@gmail.com>2011-07-04 19:28:33 +0200
committerJoachim Filip Ignacy Bartosik <jbartosik@gmail.com>2011-07-11 10:37:31 +0200
commit4c0bc66a67825c09210d814cf0f9c6a043f0b2ba (patch)
treead92cbe8da6605f357cf67743658935cf70bf253
parentPull information on how long meeting took from Gentoo archives (diff)
downloadcouncil-webapp-4c0bc66a67825c09210d814cf0f9c6a043f0b2ba.tar.gz
council-webapp-4c0bc66a67825c09210d814cf0f9c6a043f0b2ba.tar.bz2
council-webapp-4c0bc66a67825c09210d814cf0f9c6a043f0b2ba.zip
Fix rake task for updating discussion times on AgendaItems
-rw-r--r--site/lib/tasks/update_discussion_times.rake (renamed from site/lib/tasks/update_discussion_times.rb)3
1 files changed, 1 insertions, 2 deletions
diff --git a/site/lib/tasks/update_discussion_times.rb b/site/lib/tasks/update_discussion_times.rake
index 7d85595..885df24 100644
--- a/site/lib/tasks/update_discussion_times.rb
+++ b/site/lib/tasks/update_discussion_times.rake
@@ -1,6 +1,5 @@
-desc = 'Update discussion times for ageda items that are not assigned or assigned to current agenda'
-
namespace :management do
+ desc 'Update discussion times for agenda items that are not assigned or assigned to current agenda'
task :update_discussion_times => :environment do
current_items = Agenda.current.agenda_items
unassigned_items = AgendaItem.agenda_is(nil)