Permalink
Browse files

Remove unneeded setting

  • Loading branch information...
flack committed Jan 9, 2018
1 parent a0d897c commit b5ca033fd11bf95cc126b66303299c690b6dec93
@@ -92,7 +92,6 @@ private function _create_feed($handler_id)
$this->_feed->language = $this->_config->get('rss_language');
$this->_feed->editor = $this->_config->get('rss_webmaster');
$this->_feed->link = midcom::get()->get_host_name() . midcom_core_context::get()->get_key(MIDCOM_CONTEXT_ANCHORPREFIX);
$this->_feed->cssStyleSheet = false;
switch ($handler_id) {
case 'feed-rss2':
@@ -30,7 +30,6 @@ public function _handler_rss($handler_id, array $args, array &$data)
$data['rss_creator']->title = $data['node'][MIDCOM_NAV_NAME];
$data['rss_creator']->link = $data['node'][MIDCOM_NAV_FULLURL];
$data['rss_creator']->syndicationURL = "{$data['node'][MIDCOM_NAV_FULLURL]}rss.xml";
$data['rss_creator']->cssStyleSheet = false;
}
/**
@@ -142,7 +142,6 @@ public function _show_feed($handler_id, array &$data)
$data['rss_creator']->title = $this->_topic->extra;
$data['rss_creator']->link = $prefix;
$data['rss_creator']->syndicationURL = "{$prefix}rss.xml";
$data['rss_creator']->cssStyleSheet = false;
if (count($data['products']) > 0) {
foreach ($data['products'] as $product) {

0 comments on commit b5ca033

Please sign in to comment.