From db60d6336b56195470fed8e89e71fb7e4b007275 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jaime=20Pe=CC=81rez=20Crespo?= <jaime.perez@uninett.no>
Date: Wed, 18 Mar 2020 11:54:30 +0100
Subject: [PATCH] Fix memcache configuration example

---
 config-templates/config.php | 40 ++++++++++++++++++-------------------
 1 file changed, 19 insertions(+), 21 deletions(-)

diff --git a/config-templates/config.php b/config-templates/config.php
index c284fe1ee..fd98b1c1b 100644
--- a/config-templates/config.php
+++ b/config-templates/config.php
@@ -669,30 +669,28 @@ $config = [
      * with the options desired for the given group:
      *
      * 'memcache_store.servers' => [
-     *     [
-     *         'memcache_group_1' => [
-     *             'options' => [
-     *                  Memcached::OPT_BINARY_PROTOCOL => true,
-     *                  Memcached::OPT_NO_BLOCK => true,
-     *                  Memcached::OPT_TCP_NODELAY => true,
-     *                  Memcached::OPT_LIBKETAMA_COMPATIBLE => true,
-     *                  Memcached::OPT_BUFFER_WRITES => true,
-     *             ],
-     *             ['hostname' => '127.0.0.1', 'port' => 11211],
-     *             ['hostname' => '127.0.0.2', 'port' => 11211],
+     *     'memcache_group_1' => [
+     *         'options' => [
+     *              \Memcached::OPT_BINARY_PROTOCOL => true,
+     *              \Memcached::OPT_NO_BLOCK => true,
+     *              \Memcached::OPT_TCP_NODELAY => true,
+     *              \Memcached::OPT_LIBKETAMA_COMPATIBLE => true,
+     *              \Memcached::OPT_BUFFER_WRITES => true,
      *         ],
+     *         ['hostname' => '127.0.0.1', 'port' => 11211],
+     *         ['hostname' => '127.0.0.2', 'port' => 11211],
+     *     ],
      *
-     *         'memcache_group_2' => [
-     *             'options' => [
-     *                  Memcached::OPT_BINARY_PROTOCOL => true,
-     *                  Memcached::OPT_NO_BLOCK => true,
-     *                  Memcached::OPT_TCP_NODELAY => true,
-     *                  Memcached::OPT_LIBKETAMA_COMPATIBLE => true,
-     *                  Memcached::OPT_BUFFER_WRITES => true,
-     *             ],
-     *             ['hostname' => '127.0.0.3', 'port' => 11211],
-     *             ['hostname' => '127.0.0.4', 'port' => 11211],
+     *     'memcache_group_2' => [
+     *         'options' => [
+     *              \Memcached::OPT_BINARY_PROTOCOL => true,
+     *              \Memcached::OPT_NO_BLOCK => true,
+     *              \Memcached::OPT_TCP_NODELAY => true,
+     *              \Memcached::OPT_LIBKETAMA_COMPATIBLE => true,
+     *              \Memcached::OPT_BUFFER_WRITES => true,
      *         ],
+     *         ['hostname' => '127.0.0.3', 'port' => 11211],
+     *         ['hostname' => '127.0.0.4', 'port' => 11211],
      *     ],
      * ],
      *
-- 
GitLab