Skip to content

Commit

Permalink
Simplify switch statement
Browse files Browse the repository at this point in the history
  • Loading branch information
shur authored Mar 6, 2018
1 parent 19225c0 commit 84096f4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions modules/mod_articles_category/helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,6 @@ public static function getList(&$params)
switch ($view)
{
case 'category' :
$catids = array($app->input->getInt('id'));
break;
case 'categories' :
$catids = array($app->input->getInt('id'));
break;
Expand Down

0 comments on commit 84096f4

Please sign in to comment.