Commit d1f0db49 authored by cividesk's avatar cividesk

Added active-sites-civi-php report

parent 114022c3
......@@ -81,6 +81,19 @@ $queries[] = array(
LIMIT 10 -- privacy: we do not need more for the graph
",
);
$queries[] = array(
'file' => 'active-sites-civi-php.json',
'archive' => 'monthly',
'query' => "
SELECT LEFT(version, LOCATE('.', version, 4) - 1) AS civi_version,
LEFT(PHP, LOCATE('.', PHP, 4) - 1) AS php_version,
COUNT(*) AS num_sites
FROM pingback_site
WHERE is_active = 1
GROUP BY civi_version, php_version
ORDER BY civi_version, php_version
",
);
$queries[] = array(
'file' => 'active-sites-server-mysql.json',
'archive' => 'monthly',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment