CRM-12321 - Revert "fix minor typo civicrm_cache table"
authorTim Otten <totten@civicrm.org>
Thu, 11 Apr 2013 03:59:56 +0000 (23:59 -0400)
committerTim Otten <totten@civicrm.org>
Thu, 11 Apr 2013 03:59:56 +0000 (23:59 -0400)
This reverts commit 33318c7196428c8733d3ce87ca3bbc4fc45cd5da.

CRM/Core/BAO/Cache.php

index 4a21f774c0d63347da763016dd2b36c9a1d5bdf0..e7323eaaa0549c4d29e98c33a877fd9d8c0777cf 100644 (file)
@@ -172,8 +172,7 @@ class CRM_Core_BAO_Cache extends CRM_Core_DAO_Cache {
     // set the cache in memory
     $argString = "CRM_CT_{$group}_{$path}_{$componentID}";
     $cache = CRM_Utils_Cache::singleton();
-    $data = unserialize($dao->data);
-    $cache->set($argString, $data);
+    $cache->set($argString, $dao->data);
   }
 
   /**