Skip to content

Commit

Permalink
Remove cache writeable check (joomla#11313)
Browse files Browse the repository at this point in the history
  • Loading branch information
bertmert authored and rdeutz committed Aug 25, 2016
1 parent abd9c72 commit fc7c7ba
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions components/com_newsfeeds/views/newsfeed/view.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,16 +83,6 @@ public function display($tpl = null)
$item->catslug = $item->category_alias ? ($item->catid . ':' . $item->category_alias) : $item->catid;
$item->parent_slug = $item->category_alias ? ($item->parent_id . ':' . $item->parent_alias) : $item->parent_id;

// Check if cache directory is writeable
$cacheDir = JPATH_CACHE . '/';

if (!is_writable($cacheDir))
{
JError::raiseNotice('0', JText::_('COM_NEWSFEEDS_CACHE_DIRECTORY_UNWRITABLE'));

return;
}

// Merge newsfeed params. If this is single-newsfeed view, menu params override newsfeed params
// Otherwise, newsfeed params override menu item params
$params = $state->get('params');
Expand Down

0 comments on commit fc7c7ba

Please sign in to comment.