diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-11-25 13:49:40 -0800 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-11-25 13:51:33 -0800 |
commit | 4a417708f00b1ebd5865c8075bb36b7fc0f14756 (patch) | |
tree | 6dbc5a9f5ba6adf16d6ea78c991723d97038156b /modules/rss/controllers/rss.php | |
parent | 33b1d4b7efa8c6b825908f48c7e744578e7f9ae6 (diff) |
Kohana::show_404() -> throw new Kohana_404_Exception()
Diffstat (limited to 'modules/rss/controllers/rss.php')
-rw-r--r-- | modules/rss/controllers/rss.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/rss/controllers/rss.php b/modules/rss/controllers/rss.php index ed2acef8..a963a1dc 100644 --- a/modules/rss/controllers/rss.php +++ b/modules/rss/controllers/rss.php @@ -39,7 +39,7 @@ class Rss_Controller extends Controller { } } if (empty($feed)) { - Kohana::show_404(); + throw new Kohana_404_Exception(); } if ($feed->max_pages && $page > $feed->max_pages) { |