From 61c1fd1524d33dc271cba0b903669e2ca5297ce4 Mon Sep 17 00:00:00 2001
From: lbrun <leo@sandbox.pergame.net>
Date: Mon, 5 Oct 2015 15:17:18 +0200
Subject: [PATCH] dev#25588 historique de prets koha : remove unused code

---
 application/modules/opac/controllers/AbonneController.php | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/application/modules/opac/controllers/AbonneController.php b/application/modules/opac/controllers/AbonneController.php
index ec5caf581be..14497c188db 100644
--- a/application/modules/opac/controllers/AbonneController.php
+++ b/application/modules/opac/controllers/AbonneController.php
@@ -37,8 +37,7 @@ class AbonneController extends ZendAfi_Controller_Action {
   protected function clearEmprunteurCache() {
     if (in_array($this->getRequest()->getActionName(), ['prets',
                                                         'reservations',
-                                                        'fiche',
-                                                        'loans-history']))
+                                                        'fiche']))
       Class_WebService_SIGB_EmprunteurCache::newInstance()->remove($this->_user);
   }
 
-- 
GitLab