summaryrefslogtreecommitdiff
path: root/modules/digibug
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/digibug
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/digibug')
-rw-r--r--modules/digibug/controllers/digibug.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/digibug/controllers/digibug.php b/modules/digibug/controllers/digibug.php
index a23d2863..6e6009db 100644
--- a/modules/digibug/controllers/digibug.php
+++ b/modules/digibug/controllers/digibug.php
@@ -87,7 +87,7 @@ class Digibug_Controller extends Controller {
$file = $type == "full" ? $proxy->item->file_path() : $proxy->item->thumb_path();
if (!file_exists($file)) {
- kohana::show_404();
+ throw new Kohana_404_Exception();
}
// We don't need to save the session for this request