summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-09-04 20:19:15 -0700
committerBharat Mediratta <bharat@menalto.com>2009-09-04 20:19:15 -0700
commit49de9bba68dd466dadd3c4df3d5024b3820568ff (patch)
tree70c47f02bbde9e92ce0accbb6bd4705c9c0a52c4
parentca1947a1ce9d3f70df88c6a5f6260923c5f035c1 (diff)
Add @todo to replace locales::locale_from_http_request()
request::accepts_language() when we upgrade to Kohana 2.4
-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");