From f6b6ffdc0a1601e4d16d2a9d0d904d717e707537 Mon Sep 17 00:00:00 2001
From: Laurent <llaffont@afi-sa.fr>
Date: Thu, 25 Oct 2018 14:55:03 +0200
Subject: [PATCH] hotline #80939 clean code

---
 library/ZendAfi/Controller/Action/Helper/SearchRecords.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/library/ZendAfi/Controller/Action/Helper/SearchRecords.php b/library/ZendAfi/Controller/Action/Helper/SearchRecords.php
index 557c79431f7..f50019a6550 100644
--- a/library/ZendAfi/Controller/Action/Helper/SearchRecords.php
+++ b/library/ZendAfi/Controller/Action/Helper/SearchRecords.php
@@ -21,7 +21,7 @@
 
 
 class ZendAfi_Controller_Action_Helper_SearchRecords extends Zend_Controller_Action_Helper_Abstract {
-  public function searchRecords($preferences = []) {
+  public function searchRecords() {
     $criteria = (new Class_CriteresRecherche())->setParams($this->getRequest()->getParams());
 
     $preferences = Class_Profil::getCurrentProfil()
-- 
GitLab