summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/gallery/helpers/locales.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gallery/helpers/locales.php b/modules/gallery/helpers/locales.php
index 1320c155..04fa8954 100644
--- a/modules/gallery/helpers/locales.php
+++ b/modules/gallery/helpers/locales.php
@@ -136,6 +136,7 @@ class locales_Core {
/**
* Returns the best match comparing the HTTP accept-language header
* with the installed locales.
+ * @todo replace this with request::accepts_language() when we upgrade to Kohana 2.4
*/
static function locale_from_http_request() {
$http_accept_language = Input::instance()->server("HTTP_ACCEPT_LANGUAGE");