Commit f44e39c1 authored by Robert Ricci's avatar Robert Ricci

Add profiles to the set of things to keep stats on

parent 88efdca5
......@@ -78,4 +78,14 @@ if ($query_result) {
$blob["distinct_users"] = mysql_num_rows($query_result);
}
#
# Number of profiles (both public and private)
#
$query_result =
DBQueryFatal("select count(uuid) from apt_profiles");
if ($query_result) {
$row = mysql_fetch_array($query_result);
$blob["profiles"] = $row[0];
}
echo json_encode($blob);
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