mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-07-30 19:50:36 -04:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user