From: Nick Jenkins Date: Wed, 25 Jul 2007 01:46:50 +0000 (+0000) Subject: Tweak to prevent strict standards warning: Only variables should be assigned by refer... X-Git-Tag: 1.31.0-rc.0~51970 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=130e9f819964a3a56be7ff81eee33bd6acb790b6;p=lhc%2Fweb%2Fwiklou.git Tweak to prevent strict standards warning: Only variables should be assigned by reference in includes/api/ApiLogin.php on line 154 --- diff --git a/includes/api/ApiLogin.php b/includes/api/ApiLogin.php index 2c0b7b02e6..10c31d0997 100644 --- a/includes/api/ApiLogin.php +++ b/includes/api/ApiLogin.php @@ -151,7 +151,7 @@ class ApiLogin extends ApiBase { global $wgMemc; $key = $this->getMemCacheKey(); - $val =& $wgMemc->get( $key ); + $val = $wgMemc->get( $key ); $val['lastReqTime'] = time(); if (!isset($val['count'])) {