aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoachim Filip Ignacy Bartosik <jbartosik@gmail.com>2011-06-08 13:59:09 +0200
committerJoachim Filip Ignacy Bartosik <jbartosik@gmail.com>2011-06-10 18:21:02 +0200
commit551ce28e97d8c7a9b29c810c1427a4f810598a01 (patch)
tree2631c22d29b02d48b734dc6853063807a7185f14 /site/app/models/agenda.rb
parentPlugin that sends reminders to users (diff)
downloadcouncil-webapp-551ce28e97d8c7a9b29c810c1427a4f810598a01.tar.gz
council-webapp-551ce28e97d8c7a9b29c810c1427a4f810598a01.tar.bz2
council-webapp-551ce28e97d8c7a9b29c810c1427a4f810598a01.zip
Receive list of meeting participants from IRC bot
Diffstat (limited to 'site/app/models/agenda.rb')
-rw-r--r--site/app/models/agenda.rb7
1 files changed, 0 insertions, 7 deletions
diff --git a/site/app/models/agenda.rb b/site/app/models/agenda.rb
index 55bc6cd..5be2d82 100644
--- a/site/app/models/agenda.rb
+++ b/site/app/models/agenda.rb
@@ -19,14 +19,7 @@ class Agenda < ActiveRecord::Base
transition :close, {:open => :submissions_closed}, :available_to => '::Agenda.transitions_available(acting_user)'
transition :reopen, {:submissions_closed=> :open}, :available_to => '::Agenda.transitions_available(acting_user)'
transition :archive, {:submissions_closed => :old}, :available_to => '::Agenda.transitions_available(acting_user)' do
- ActiveRecord::Base.transaction do
Agenda.new.save!
- ::User.council_member_is(true).each do |participant|
- Participation.create! :irc_nick => participant.irc_nick,
- :participant => participant,
- :agenda => self
- end
- end
end
end