Mercurial > SimpleWebPresenter
diff Language.inc @ 66:74f7b64bdb78
Lots of documentation fixes, and removal of unused function getXmlContent
| author | Tom Fredrik Blenning Klaussen <bfg@blenning.no> |
|---|---|
| date | Thu, 11 Oct 2012 22:11:33 +0200 |
| parents | 0f1e08cdfff2 |
| children |
line wrap: on
line diff
--- a/Language.inc Thu Oct 11 20:36:24 2012 +0200 +++ b/Language.inc Thu Oct 11 22:11:33 2012 +0200 @@ -1,6 +1,5 @@ <?php /** - * @file * Functionality for determining language use */ class Language { @@ -10,7 +9,7 @@ * * @return associative array of language codes with q value */ - function accepted() { + static function accepted() { $langs = array(); if (isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])) {
