From: Brion Vibber Date: Sat, 16 Jan 2010 21:39:05 +0000 (-0800) Subject: Cleanup for memcached host/port split -- apparently we use ';' on purpose, restoring... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=775c63b654dacf733e7bef99cb9f6f07aa824854;p=quix0rs-gnu-social.git Cleanup for memcached host/port split -- apparently we use ';' on purpose, restoring. Keeping fix for the notices spewing into the log. --- diff --git a/plugins/MemcachePlugin.php b/plugins/MemcachePlugin.php index 5214ab9c89..8c8b8da6dc 100644 --- a/plugins/MemcachePlugin.php +++ b/plugins/MemcachePlugin.php @@ -170,8 +170,8 @@ class MemcachePlugin extends Plugin $servers = array($this->servers); } foreach ($servers as $server) { - if (strpos($server, ':') !== false) { - list($host, $port) = explode(':', $server); + if (strpos($server, ';') !== false) { + list($host, $port) = explode(';', $server); } else { $host = $server; $port = 11211;