MidCOM svn: r21080 - trunk/midcom/midcom_core/services/templating

bergie midcom-commits at lists.midgard-project.org
Thu Mar 12 17:03:42 CET 2009


Author: bergie
Date: Thu Mar 12 17:03:42 2009
New Revision: 21080
URL: http://trac.midgard-project.org/changeset/21080

Log:
Reverting unnecessary r21075


Modified:
   trunk/midcom/midcom_core/services/templating/midgard.php

Modified: trunk/midcom/midcom_core/services/templating/midgard.php
==============================================================================
--- trunk/midcom/midcom_core/services/templating/midgard.php	(original)
+++ trunk/midcom/midcom_core/services/templating/midgard.php	Thu Mar 12 17:03:42 2009
@@ -28,11 +28,6 @@
 
     private function get_cache_identifier()
     {
-        if (!isset($_MIDCOM->context))
-        {
-            // MidCOM isn't running, generate simple identifier
-            return md5("{$_SERVER['HTTP_HOST']}-{$_SERVER['REQUEST_URI']}");
-        }
         if (!isset($_MIDCOM->context->page))
         {
             return "{$_MIDCOM->context->host->id}-{$_MIDCOM->context->component_name}-{$_MIDGARD['style']}-" . $_MIDCOM->context->get_current_context() . 


More information about the midcom-commits mailing list