Clean up code in "read_locale_file" function

This commit is contained in:
Dmitriy Simushev 2014-06-10 14:18:32 +00:00
parent e9924db3a2
commit d9e41240a4

View File

@ -281,9 +281,6 @@ function load_messages($locale)
*/
function read_locale_file($path)
{
// Set default values
$messages = array();
$loader = new PoFileLoader();
// At this point locale name (the second argument of the "load" method) has
// no sense, so an empty string is passed in.