1
0

Convert Kohana::show_404() to throw a Kohana_404_Exception()

This commit is contained in:
Bharat Mediratta 2009-12-24 11:55:28 -08:00
parent ace00a891d
commit c7ad42100b

View File

@ -74,7 +74,7 @@ class CalendarView_Controller extends Controller {
// Make sure that the page references a valid offset
if (($page < 1) || ($page > $max_pages)) {
Kohana::show_404();
throw new Kohana_404_Exception();
}
// Set up the page.
@ -150,7 +150,7 @@ class CalendarView_Controller extends Controller {
// Make sure that the page references a valid offset
if (($page < 1) || ($page > $max_pages)) {
Kohana::show_404();
throw new Kohana_404_Exception();
}
// Set up the page.