* public/api/runs.php:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@192717
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2015-11-20 Ryosuke Niwa <rniwa@webkit.org>
+
+ Build fix for old version of PHP.
+
+ * public/api/runs.php:
+
2015-11-20 Ryosuke Niwa <rniwa@webkit.org>
Perf dashboard's should not include results more than 366 days old in JSON
foreach ($config_rows as $config)
$generator->fetch_runs($config['config_type'], $config['config_id'], $config['config_runs_last_modified']);
- $content = success_json($generator->results());
+ $results = $generator->results();
+ $content = success_json($results);
if (!$should_echo_results) {
- echo $generator->results()['elapsedTime'];
+ echo $results['elapsedTime'];
return;
}