Skip to content

Commit

Permalink
Remove dead code.
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Jul 3, 2017
1 parent c91ae42 commit c44493a
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions jonah/lib/View/StoryList.php
Expand Up @@ -44,19 +44,14 @@ public function run()
} catch (Exception $e) {
$notification->push(sprintf(_("Invalid channel requested. %s"), $e->getMessage()), 'horde.error');
Horde::url('channels/index.php', true)->redirect();
exit;
}

/* Do some state tests. */
if (empty($stories)) {
$notification->push(_("No available stories."), 'horde.warning');
}
if (!empty($refresh)) {
$notification->push(_("Channel refreshed."), 'horde.success');
}
if (!empty($url)) {
$url->redirect();
exit;
}

/* Build story specific fields. */
Expand Down

0 comments on commit c44493a

Please sign in to comment.