]> nos-oignons.net Git - gestion-adh.git/blobdiff - bin/list-emails
Only send reminders when the time has really come
[gestion-adh.git] / bin / list-emails
index 569571efdde8ff8cdb371031e46c6059a1914cb3..5315d8620549b4428395da6262306124189e30ae 100755 (executable)
@@ -5,9 +5,6 @@ require 'rubygems'
 require 'bundler'
 Bundler.setup
 
-require 'nos_oignons/subscriptions'
+require 'nos_oignons'
 
-subscriptions = read_subscriptions
-subscriptions.each_pair do |subscription_id, data|
-  puts data['email']
-end
+NosOignons.list_emails!