diff options
author | Anika Henke <anika@selfthinker.org> | 2013-02-18 01:08:40 +0000 |
---|---|---|
committer | Anika Henke <anika@selfthinker.org> | 2013-02-18 01:08:40 +0000 |
commit | c33b315b06b3a52a61cb1ecc2b3beadd4ecd0311 (patch) | |
tree | 3852a81d98ff6795c53a454d266ae9def63f11e2 /inc/common.php | |
parent | eda319e6664ad3c786312ffee7ce7cfbfa4eda1c (diff) | |
download | rpg-c33b315b06b3a52a61cb1ecc2b3beadd4ecd0311.tar.gz rpg-c33b315b06b3a52a61cb1ecc2b3beadd4ecd0311.tar.bz2 |
removed a bunch of functions which were deprecated in 2005/2006
Diffstat (limited to 'inc/common.php')
-rw-r--r-- | inc/common.php | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/inc/common.php b/inc/common.php index 28b527633..471eb91b5 100644 --- a/inc/common.php +++ b/inc/common.php @@ -1175,27 +1175,6 @@ function getGoogleQuery() { } /** - * Try to set correct locale - * - * @deprecated No longer used - * @author Andreas Gohr <andi@splitbrain.org> - */ -function setCorrectLocale() { - global $conf; - global $lang; - - $enc = strtoupper($lang['encoding']); - foreach($lang['locales'] as $loc) { - //try locale - if(@setlocale(LC_ALL, $loc)) return; - //try loceale with encoding - if(@setlocale(LC_ALL, "$loc.$enc")) return; - } - //still here? try to set from environment - @setlocale(LC_ALL, ""); -} - -/** * Return the human readable size of a file * * @param int $size A file size |