resourceloader: Simplify log message for getDefinitionMtime() cache miss
authorTimo Tijhof <krinklemail@gmail.com>
Tue, 17 Feb 2015 01:01:18 +0000 (01:01 +0000)
committerKrinkle <krinklemail@gmail.com>
Fri, 20 Feb 2015 06:47:06 +0000 (06:47 +0000)
* Add quotes around context (which has pipe characters in it).
* Remove hash (not useful).

Change-Id: Iff80c914add0c5a2fe27fff6398bb3384102e3d2

includes/resourceloader/ResourceLoaderModule.php

index 4c2c2b2..d689044 100644 (file)
@@ -524,8 +524,8 @@ abstract class ResourceLoaderModule {
                        return $data;
                }
 
-               wfDebugLog( 'resourceloader', __METHOD__ . ": New definition hash for module "
-                       . "{$this->getName()} in context {$context->getHash()}: $hash." );
+               wfDebugLog( 'resourceloader', __METHOD__ . ": New definition for module "
+                       . "{$this->getName()} in context \"{$context->getHash()}\"" );
 
                $timestamp = time();
                $cache->set( $key, $timestamp );