From 310cb7790f5f1710e5bceb20671da3d42aa00b67 Mon Sep 17 00:00:00 2001
From: Ere Maijala <ere.maijala@helsinki.fi>
Date: Wed, 15 Mar 2017 16:18:24 +0200
Subject: [PATCH] Removed a couple of quite noisy debug messages from
 MultiBackend driver. (#943)

---
 module/VuFind/src/VuFind/ILS/Driver/MultiBackend.php | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/module/VuFind/src/VuFind/ILS/Driver/MultiBackend.php b/module/VuFind/src/VuFind/ILS/Driver/MultiBackend.php
index 76f6b382896..c2bb4ab6d47 100644
--- a/module/VuFind/src/VuFind/ILS/Driver/MultiBackend.php
+++ b/module/VuFind/src/VuFind/ILS/Driver/MultiBackend.php
@@ -1323,7 +1323,7 @@ class MultiBackend extends AbstractBase implements \Zend\Log\LoggerAwareInterfac
      *
      * @param string $id The id to be split
      *
-     * @return string  Source
+     * @return string Source
      */
     protected function getSource($id)
     {
@@ -1332,7 +1332,6 @@ class MultiBackend extends AbstractBase implements \Zend\Log\LoggerAwareInterfac
             return substr($id, 0, $pos);
         }
 
-        $this->debug("Could not find source id in '$id'");
         return '';
     }
 
@@ -1365,9 +1364,6 @@ class MultiBackend extends AbstractBase implements \Zend\Log\LoggerAwareInterfac
                 return $source;
             }
         }
-        $this->debug(
-            'Could not find source id in params: ' . print_r($params, true)
-        );
         return '';
     }
 
-- 
GitLab