X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FAjaxResponse.php;h=4fe46dd1af53a5cdfcdcc6592d958dfd35557d65;hb=dc529b65558de104aef54357ca0372d34210aff5;hp=6c2782c0fab892fda18a8bf9eedc45dc122c3288;hpb=ba3cac4023165efeeee8a0e5075596410d2d8fe3;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;