Skip to content

Commit

Permalink
Remove dead code.
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Jun 30, 2017
1 parent 1559043 commit 9370753
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/View/StoryList.php
Original file line number Diff line number Diff line change
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;
}

/* Get channel details, for title, etc. */
Expand Down

0 comments on commit 9370753

Please sign in to comment.