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.
This commit is contained in:
Bharat Mediratta
2009-12-23 20:51:33 -08:00
parent b62083bd24
commit 057e8d09af
5 changed files with 20 additions and 20 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ class Admin_Controller extends Controller {
}
if (!method_exists($controller_name, $method)) {
return kohana::show_404();
throw new Kohana_404_Exception();
}
call_user_func_array(array(new $controller_name, $method), $args);