summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/gallery/helpers/access.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/helpers/access.php b/modules/gallery/helpers/access.php
index 2cfaa947..10fa8666 100644
--- a/modules/gallery/helpers/access.php
+++ b/modules/gallery/helpers/access.php
@@ -186,7 +186,7 @@ class access_Core {
* Terminate immediately with an HTTP 403 Forbidden response.
*/
static function forbidden() {
- throw new Exception("@todo FORBIDDEN", 403);
+ throw new Kohana_Exception("@todo FORBIDDEN", null, 403);
}
/**