diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-12-23 20:51:33 -0800 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-12-23 20:51:33 -0800 |
commit | 057e8d09afaecd27f672f804a6a65341578d50fd (patch) | |
tree | d0a039076270f3d037c77b615772dcf0f6ea9326 /modules/tag/controllers | |
parent | b62083bd24b7e5fa079726dc0819fb646c31192b (diff) |
Convert a bunch of leftover kohana::show_404 calls to throw
Kohana_404_Exception instead. These are the ones where we used a
lower-case 'k' so my previous filter didn't catch it.
Diffstat (limited to 'modules/tag/controllers')
-rw-r--r-- | modules/tag/controllers/admin_tags.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/tag/controllers/admin_tags.php b/modules/tag/controllers/admin_tags.php index a56d4d20..e20b8ac8 100644 --- a/modules/tag/controllers/admin_tags.php +++ b/modules/tag/controllers/admin_tags.php @@ -45,7 +45,7 @@ class Admin_Tags_Controller extends Admin_Controller { $tag = ORM::factory("tag", $id); if (!$tag->loaded()) { - kohana::show_404(); + throw new Kohana_404_Exception(); } $form = tag::get_delete_form($tag); @@ -80,7 +80,7 @@ class Admin_Tags_Controller extends Admin_Controller { $tag = ORM::factory("tag", $id); if (!$tag->loaded()) { - kohana::show_404(); + throw new Kohana_404_Exception(); } $in_place_edit = InPlaceEdit::factory($tag->name) |