Revert "count only version numbers starting with "numbers / dot or dash / numbers" in federation statistics"

This reverts commit 7b5c5c0fa2.
This commit is contained in:
Jens Tautenhahn 2016-11-14 09:48:19 +01:00
parent 7b5c5c0fa2
commit d92c9a444f
1 changed files with 1 additions and 1 deletions

View File

@ -290,7 +290,7 @@ function admin_page_federation(&$a) {
// what versions for that platform do we know at all?
// again only the active nodes
$v = qu('SELECT COUNT(*) AS `total`, `version` FROM `gserver`
WHERE `last_contact` > `last_failure` AND `platform` LIKE "%s" AND `version` RLIKE "^[[:digit:]]+[-.][[:digit:]]+"
WHERE `last_contact` > `last_failure` AND `platform` LIKE "%s" AND `version` != ""
GROUP BY `version`
ORDER BY `version`;', $p);