Skip to content

Commit

Permalink
remove events.ics
Browse files Browse the repository at this point in the history
  • Loading branch information
szabgab committed Mar 30, 2024
1 parent 8ab7809 commit 37be32c
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 74 deletions.
3 changes: 0 additions & 3 deletions Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,7 @@ WriteMakefile(

'Dancer2::Plugin::Passphrase' => '2.0.5',
'Dancer2::Session::Cookie' => 0,
'Data::ICal' => 0,
'Data::ICal::Entry::Event' => 0,
'DateTime' => 1.12,
'DateTime::Format::ICal' => 0,
'DateTime::Duration' => 0,
'DateTime::Tiny' => 0, #test fails and we should probably stop using it
'Hash::Merge::Simple' => 0.051,
Expand Down
13 changes: 0 additions & 13 deletions bin/check.pl

This file was deleted.

8 changes: 0 additions & 8 deletions lib/Perl/Maven.pm
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ use Encode qw(encode);

use Web::Feed;

use Perl::Maven::Calendar ();
use Perl::Maven::Debug qw(tmplog);
use Perl::Maven::Config;
use Perl::Maven::Page;
Expand Down Expand Up @@ -636,13 +635,6 @@ get '/sitemap.xml' => sub {
return $xml;
};

get '/events.ics' => sub {
content_type 'text/calendar';
my $old_file = path( mymaven->{root}, 'sites', mymaven->{lang}, 'old_events.json' );
my $filepath = path( mymaven->{root}, 'sites', mymaven->{lang}, 'events.json' );
return Perl::Maven::Calendar::create_calendar( $filepath, $old_file );
};

get '/rss/:tag' => sub {
my $tag = param('tag');
return redirect '/rss/tv' if $tag and $tag eq 'interview';
Expand Down
50 changes: 0 additions & 50 deletions lib/Perl/Maven/Calendar.pm

This file was deleted.

0 comments on commit 37be32c

Please sign in to comment.