Revert changes in CRM/Core/BAO{Cache|ConfigSetting}.php CRM/Extension/ClassLoader...
[civicrm-core.git] / CRM / Utils / Cache / Memcache.php
index 3e8057c49d8a6c81e95f608a93e482efb6d1ef3f..511663792e575030897694f495f184a2f505ce73 100644 (file)
@@ -32,7 +32,8 @@
  */
 class CRM_Utils_Cache_Memcache implements CRM_Utils_Cache_Interface {
 
-  use CRM_Utils_Cache_NaiveMultipleTrait; // TODO Consider native implementation.
+  // TODO Consider native implementation.
+  use CRM_Utils_Cache_NaiveMultipleTrait;
 
   const DEFAULT_HOST = 'localhost';
   const DEFAULT_PORT = 11211;
@@ -163,7 +164,6 @@ class CRM_Utils_Cache_Memcache implements CRM_Utils_Cache_Interface {
     return ($result !== FALSE);
   }
 
-
   /**
    * @param $key
    *
@@ -194,7 +194,8 @@ class CRM_Utils_Cache_Memcache implements CRM_Utils_Cache_Interface {
       $value = $this->_cache->get($key);
       if ($value === FALSE) {
         $value = uniqid();
-        $this->_cache->set($key, $value, FALSE, 0); // Indefinite.
+        // Indefinite.
+        $this->_cache->set($key, $value, FALSE, 0);
       }
       $this->_truePrefix = [
         'value' => $value,