From: <var...@us...> - 2021-10-19 12:53:43
|
Revision: 10632 http://sourceforge.net/p/phpwiki/code/10632 Author: vargenau Date: 2021-10-19 12:53:42 +0000 (Tue, 19 Oct 2021) Log Message: ----------- lib/plugin/SystemInfo.php: remove unused functions Modified Paths: -------------- trunk/lib/plugin/SystemInfo.php Modified: trunk/lib/plugin/SystemInfo.php =================================================================== --- trunk/lib/plugin/SystemInfo.php 2021-10-13 08:14:24 UTC (rev 10631) +++ trunk/lib/plugin/SystemInfo.php 2021-10-19 12:53:42 UTC (rev 10632) @@ -499,8 +499,6 @@ $appname_function = function() { return 'PhpWiki'; }; $version_function = function() { return sprintf('%s', PHPWIKI_VERSION); }; - $LANG_function = function() { return $GLOBALS["LANG"]; }; - $LC_ALL_function = function() { return setlocale(LC_ALL, 0); }; $current_language_function = function() { return $GLOBALS["LANG"]; }; $system_language_function = function() { return DEFAULT_LANGUAGE; }; $current_theme_function = function() { return $GLOBALS["WikiTheme"]->_name; }; @@ -510,8 +508,6 @@ $availableargs = // name => callback + 0 args array('appname' => $appname_function, 'version' => $version_function, - 'LANG' => $LANG_function, - 'LC_ALL' => $LC_ALL_function, 'current_language' => $current_language_function, 'system_language' => $system_language_function, 'current_theme' => $current_theme_function, This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |