Merge "Ignore some ScopedCallback IDE warnings"
[lhc/web/wiklou.git] / includes / db / LoadMonitorMySQL.php
index dc009c6..c80697b 100644 (file)
@@ -85,7 +85,7 @@ class LoadMonitorMySQL implements LoadMonitor {
                        } );
                } elseif ( $staleValue ) {
                        # Could not acquire lock but an old cache exists, so use it
-                       return $value['lagTimes'];
+                       return $staleValue['lagTimes'];
                }
 
                $lagTimes = array();