X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FAjaxResponse.php;h=4fe46dd1af53a5cdfcdcc6592d958dfd35557d65;hb=724b2cf91205cc1b09c5677a8c01e34978717d4a;hp=6c2782c0fab892fda18a8bf9eedc45dc122c3288;hpb=6da98ee84b844c9fba0d6c7fa76d8fc50bf2abbc;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/AjaxResponse.php b/includes/AjaxResponse.php index 6c2782c0fa..4fe46dd1af 100644 --- a/includes/AjaxResponse.php +++ b/includes/AjaxResponse.php @@ -303,10 +303,10 @@ class AjaxResponse { */ function storeInMemcached( $mckey, $expiry = 86400 ) { ObjectCache::getMainWANInstance()->set( $mckey, - array( + [ 'timestamp' => wfTimestampNow(), 'value' => $this->mText - ), $expiry + ], $expiry ); return true;