File: 0001_Reorder-glue-and-array-parameters.patch

package info (click to toggle)
php-horde-memcache 2.1.1-7
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 152 kB
  • sloc: xml: 442; php: 311; makefile: 2
file content (28 lines) | stat: -rw-r--r-- 1,100 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From ffd585d3be551f6e1a5283779294f2cd241c4cd1 Mon Sep 17 00:00:00 2001
From: Michael J Rubinsky <mrubinsk@horde.org>
Date: Mon, 31 May 2021 12:01:18 -0400
Subject: [PATCH] Reorder glue and array parameters

Deprecated since 7.4 and an error in 8.0

Signed-off-by: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
---
 Horde_Memcache-2.1.1/lib/Horde/Memcache.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Horde_Memcache-2.1.1/lib/Horde/Memcache.php b/Horde_Memcache-2.1.1/lib/Horde/Memcache.php
index a13ca2c..498d88c 100644
--- a/Horde_Memcache-2.1.1/lib/Horde/Memcache.php
+++ b/Horde_Memcache-2.1.1/lib/Horde/Memcache.php
@@ -202,7 +202,7 @@ class Horde_Memcache implements Serializable
 
         if (isset($this->_params['logger'])) {
             $this->_logger = $this->_params['logger'];
-            $this->_logger->log('Connected to the following memcache servers:' . implode($this->_servers, ', '), 'DEBUG');
+            $this->_logger->log('Connected to the following memcache servers:' . implode(', ', $this->_servers), 'DEBUG');
         }
     }
 
-- 
2.30.2