summaryrefslogtreecommitdiff
path: root/modules/tag
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-12-23 20:51:33 -0800
committerBharat Mediratta <bharat@menalto.com>2009-12-23 20:51:33 -0800
commit057e8d09afaecd27f672f804a6a65341578d50fd (patch)
treed0a039076270f3d037c77b615772dcf0f6ea9326 /modules/tag
parentb62083bd24b7e5fa079726dc0819fb646c31192b (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')
-rw-r--r--modules/tag/controllers/admin_tags.php4
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)