Commit e1d22ffb authored by solideogloria's avatar solideogloria Committed by Jeremy Andrews
Browse files

Issue #3160924 by solideogloria, kaosagnt: Drupal complains pecl memcache is not correct version

parent 57050a27
Loading
Loading
Loading
Loading
+1 −1
Changes for memcache.install: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -269,7 +269,7 @@ function _memcache_pecl_version_valid() {
    // it will require a replacement for version_compare().
    $full_version = phpversion('memcache');
    $version = implode('.', array_slice(explode('.', $full_version), 0, 3));
    if (version_compare(phpversion(), '7'. '>=')) {
    if (version_compare(phpversion(), '7', '>=')) {
      return version_compare($version, MEMCACHE_PECL_PHP7_RECOMMENDED, '>=');
    }
    else {