From 3e94967191cf69e50f93838d521b27b7cf040e3f Mon Sep 17 00:00:00 2001 From: Timo Tijhof Date: Tue, 17 Feb 2015 01:01:18 +0000 Subject: [PATCH] resourceloader: Simplify log message for getDefinitionMtime() cache miss * Add quotes around context (which has pipe characters in it). * Remove hash (not useful). Change-Id: Iff80c914add0c5a2fe27fff6398bb3384102e3d2 --- includes/resourceloader/ResourceLoaderModule.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/resourceloader/ResourceLoaderModule.php b/includes/resourceloader/ResourceLoaderModule.php index 4c2c2b2440..d689044019 100644 --- a/includes/resourceloader/ResourceLoaderModule.php +++ b/includes/resourceloader/ResourceLoaderModule.php @@ -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 ); -- 2.20.1