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