beautification of pleroma stats

pull/6973/head
Tobias Diekershoff 2019-04-05 06:39:34 +02:00
rodzic 26c2290fed
commit 1db0a29291
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -680,6 +680,8 @@ function admin_page_federation(App $a)
do {
$part = array_pop($parts);
} while (!empty($parts) && ((strlen($part) >= 40) || (strlen($part) <= 3)));
// only take the x.x.x part of the version, not the "release" after the dash
$part = array_shift(explode('-', $part));
if (!empty($part)) {
if (empty($compacted[$part])) {