From 3a9a7cc0e7c87c9575736d83e3c4e2ea45723195 Mon Sep 17 00:00:00 2001
From: Demian Katz <demian.katz@villanova.edu>
Date: Wed, 5 Sep 2012 15:28:36 -0400
Subject: [PATCH] Fixed compatibility problems with language loader.

---
 module/VuFind/src/VuFind/Translator/Loader/ExtendedIni.php | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/module/VuFind/src/VuFind/Translator/Loader/ExtendedIni.php b/module/VuFind/src/VuFind/Translator/Loader/ExtendedIni.php
index ae16efd1564..db1505afbec 100644
--- a/module/VuFind/src/VuFind/Translator/Loader/ExtendedIni.php
+++ b/module/VuFind/src/VuFind/Translator/Loader/ExtendedIni.php
@@ -26,7 +26,7 @@
  * @link     http://vufind.org   Main Site
  */
 namespace VuFind\Translator\Loader;
-use Zend\I18n\Translator\Loader\Exception\InvalidArgumentException,
+use Zend\I18n\Exception\InvalidArgumentException,
     Zend\I18n\Translator\Loader\FileLoaderInterface,
     Zend\I18n\Translator\TextDomain;
 
@@ -46,13 +46,13 @@ class ExtendedIni implements FileLoaderInterface
     /**
      * load(): defined by LoaderInterface.
      *
-     * @param string $filename Language file to read
      * @param string $locale   Locale to read from language file
+     * @param string $filename Language file to read
      *
      * @return TextDomain
      * @throws InvalidArgumentException
      */
-    public function load($filename, $locale)
+    public function load($locale, $filename)
     {
         $this->data = new TextDomain();
         if (!file_exists($filename)) {
-- 
GitLab