From d9e41240a406604f0b13251bb517433b55104680 Mon Sep 17 00:00:00 2001 From: Dmitriy Simushev Date: Tue, 10 Jun 2014 14:18:32 +0000 Subject: [PATCH] Clean up code in "read_locale_file" function --- src/mibew/libs/common/locale.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/mibew/libs/common/locale.php b/src/mibew/libs/common/locale.php index c64e2749..3d2a165c 100644 --- a/src/mibew/libs/common/locale.php +++ b/src/mibew/libs/common/locale.php @@ -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.