From: Reedy Date: Mon, 25 Jul 2016 16:36:35 +0000 (+0100) Subject: MW_DIFF_VERSION is globally defined, drop MW_ prefix when used as X-Git-Tag: 1.31.0-rc.0~6278 X-Git-Url: http://git.cyclocoop.org/?a=commitdiff_plain;h=58ea3e0902f2e141a45d790963331cbce0f0af35;p=lhc%2Fweb%2Fwiklou.git MW_DIFF_VERSION is globally defined, drop MW_ prefix when used as the class constant Bug: T141272 Change-Id: I0a9e9037b2259515df6366184cc781ecb78f424c --- diff --git a/includes/diff/DifferenceEngine.php b/includes/diff/DifferenceEngine.php index bd7629acbd..949a0acc7c 100644 --- a/includes/diff/DifferenceEngine.php +++ b/includes/diff/DifferenceEngine.php @@ -779,7 +779,7 @@ class DifferenceEngine extends ContextSource { throw new MWException( 'mOldid and mNewid must be set to get diff cache key.' ); } - return wfMemcKey( 'diff', 'version', self::MW_DIFF_VERSION, + return wfMemcKey( 'diff', 'version', self::DIFF_VERSION, 'oldid', $this->mOldid, 'newid', $this->mNewid ); }