diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2010-01-20 00:51:34 -0800 | 
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2010-01-20 00:51:34 -0800 | 
| commit | b5cf24456f4868a0e553af389e1b482984bc8a86 (patch) | |
| tree | cdfabe1a79ffba32573da22d01e2d0d96f8564b4 /modules/gallery/helpers | |
| parent | 276d7de5b6254222aee828de54f21af6ee4c0a15 (diff) | |
Forbidden is a 403, not a 503.
Diffstat (limited to 'modules/gallery/helpers')
| -rw-r--r-- | modules/gallery/helpers/access.php | 4 | 
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);    }    /** | 
