summaryrefslogtreecommitdiff
path: root/modules/gallery_unit_test/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gallery_unit_test/controllers')
-rw-r--r--modules/gallery_unit_test/controllers/gallery_unit_test.php2
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