Merge "Http::getProxy() method to get proxy configuration"
[lhc/web/wiklou.git] / includes / AjaxResponse.php
index 6c2782c..4fe46dd 100644 (file)
@@ -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;