Skip to content

Instantly share code, notes, and snippets.

@nelson-ph
Created April 28, 2021 10:45
Show Gist options
  • Save nelson-ph/5cf08273e4847641ea78b730ad5825f7 to your computer and use it in GitHub Desktop.
Save nelson-ph/5cf08273e4847641ea78b730ad5825f7 to your computer and use it in GitHub Desktop.
Drupal 8 - Predis - support scheme / tls
Index: src/Client/Predis.php
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/src/Client/Predis.php b/src/Client/Predis.php
--- a/src/Client/Predis.php (date 1619606317239)
+++ b/src/Client/Predis.php (date 1619606317239)
@@ -51,8 +51,6 @@
else {
$parameters[] = $replicationHost['scheme'] . '://' . $replicationHost['host'] . ':' . $replicationHost['port'] . $persistent_value;
}
-
- $parameters[] = $param;
}
$options = ['replication' => true];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment