This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new 40c9beb0 Not used or needed
40c9beb0 is described below

commit 40c9beb08e525b16b6cc05a5c785e31498554414
Author: Sebb <s...@apache.org>
AuthorDate: Fri Dec 29 23:15:07 2023 +0000

    Not used or needed
---
 www/board/agenda/routes.rb | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/www/board/agenda/routes.rb b/www/board/agenda/routes.rb
index 94dd81f2..fd9b83fc 100755
--- a/www/board/agenda/routes.rb
+++ b/www/board/agenda/routes.rb
@@ -550,14 +550,6 @@ get '/new' do
   @pmcs = ASF::Board.reporting(@meeting)
   @owner = ASF::Board::ShepherdStream.new(actions)
 
-  # Get list of unpublished and unapproved minutes
-  draft = YAML.load_file(Dir["#{AGENDA_WORK}/board_minutes*.yml"].max)
-  @minutes = dir("board_agenda_*.txt").
-    map {|file| Date.parse(file[/\d[_\d]+/].gsub('_', '-'))}.
-    reject {|date| date >= @meeting.to_date}.
-    reject {|date| draft[date.strftime('%B %d, %Y')] == 'approved'}.
-    sort
-
   template = File.join(ASF::SVN['foundation_board'], 'templates', 
'board_agenda.erb')
   @disabled = dir("board_agenda_*.txt").
     include? @meeting.strftime("board_agenda_%Y_%m_%d.txt")

Reply via email to