From: Timo Tijhof Date: Tue, 17 Feb 2015 01:01:18 +0000 (+0000) Subject: resourceloader: Simplify log message for getDefinitionMtime() cache miss X-Git-Tag: 1.31.0-rc.0~12350 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/comptes/journal.php?a=commitdiff_plain;h=3e94967191cf69e50f93838d521b27b7cf040e3f;p=lhc%2Fweb%2Fwiklou.git 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 --- 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 );