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/gallery_unit_test/controllers | |
parent | 33b1d4b7efa8c6b825908f48c7e744578e7f9ae6 (diff) |
Kohana::show_404() -> throw new Kohana_404_Exception()
Diffstat (limited to 'modules/gallery_unit_test/controllers')
-rw-r--r-- | modules/gallery_unit_test/controllers/gallery_unit_test.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery_unit_test/controllers/gallery_unit_test.php b/modules/gallery_unit_test/controllers/gallery_unit_test.php index 58e0d9c5..391ad029 100644 --- a/modules/gallery_unit_test/controllers/gallery_unit_test.php +++ b/modules/gallery_unit_test/controllers/gallery_unit_test.php @@ -20,7 +20,7 @@ class Gallery_Unit_Test_Controller extends Controller { function Index() { if (!TEST_MODE) { - print Kohana::show_404(); + print throw new Kohana_404_Exception(); } // Jump through some hoops to satisfy the way that we check for the site_domain in |