From: Zheng Zhu Date: Fri, 17 Sep 2004 19:12:15 +0000 (+0000) Subject: added a hook to get preferred language variant X-Git-Tag: 1.5.0alpha1~1976 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=7c7c1cc5d354293a8e4edce84afcccc9a72bad70;p=lhc%2Fweb%2Fwiklou.git added a hook to get preferred language variant --- diff --git a/languages/Language.php b/languages/Language.php index dd808d7fd2..e2c3500b23 100644 --- a/languages/Language.php +++ b/languages/Language.php @@ -1968,6 +1968,10 @@ class Language { function getVariants() { return array(); } + + function getPreferredVariant() { + return false; + } } # This should fail gracefully if there's not a localization available