From 130e9f819964a3a56be7ff81eee33bd6acb790b6 Mon Sep 17 00:00:00 2001 From: Nick Jenkins Date: Wed, 25 Jul 2007 01:46:50 +0000 Subject: [PATCH] Tweak to prevent strict standards warning: Only variables should be assigned by reference in includes/api/ApiLogin.php on line 154 --- includes/api/ApiLogin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'])) { -- 2.20.1