diff options
Diffstat (limited to 'perllib/FixMyStreet')
-rwxr-xr-x | perllib/FixMyStreet/App/Controller/Rss.pm | 1 | ||||
-rw-r--r-- | perllib/FixMyStreet/Cobrand/Default.pm | 8 | ||||
-rw-r--r-- | perllib/FixMyStreet/Cobrand/EmptyHomes.pm | 11 |
3 files changed, 0 insertions, 20 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Rss.pm b/perllib/FixMyStreet/App/Controller/Rss.pm index 62a889801..fe4b652ed 100755 --- a/perllib/FixMyStreet/App/Controller/Rss.pm +++ b/perllib/FixMyStreet/App/Controller/Rss.pm @@ -172,7 +172,6 @@ sub generate : Private { $c->stash->{rss} = new XML::RSS( version => '2.0', encoding => 'UTF-8', - stylesheet => $c->cobrand->feed_xsl, encode_output => undef ); $c->stash->{rss}->add_module( diff --git a/perllib/FixMyStreet/Cobrand/Default.pm b/perllib/FixMyStreet/Cobrand/Default.pm index c3fd8a287..6088f22a8 100644 --- a/perllib/FixMyStreet/Cobrand/Default.pm +++ b/perllib/FixMyStreet/Cobrand/Default.pm @@ -474,14 +474,6 @@ COUNCILS pass any extra checks. CONTEXT is where we are on the site. sub council_check { return ( 1, '' ); } -=head2 feed_xsl - -Return an XSL to be used in rendering feeds - -=cut - -sub feed_xsl { '/xsl.xsl' } - =head2 all_councils_report Return a boolean indicating whether the cobrand displays a report of all diff --git a/perllib/FixMyStreet/Cobrand/EmptyHomes.pm b/perllib/FixMyStreet/Cobrand/EmptyHomes.pm index b9dea87c9..ed0c4ba73 100644 --- a/perllib/FixMyStreet/Cobrand/EmptyHomes.pm +++ b/perllib/FixMyStreet/Cobrand/EmptyHomes.pm @@ -48,17 +48,6 @@ sub base_url_with_lang { sub languages { [ 'en-gb,English,en_GB', 'cy,Cymraeg,cy_GB' ] } sub language_domain { 'FixMyStreet-EmptyHomes' } -=item feed_xsl - -Return the XSL file path to be used for feeds' - -=cut - -sub feed_xsl { - my ($self) = @_; - return '/xsl.eha.xsl'; -} - =item shorten_recency_if_new_greater_than_fixed For empty homes we don't want to shorten the recency |