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