mirror of
https://github.com/friendica/friendica
synced 2024-12-23 04:40:15 +00:00
Merge pull request #6973 from tobiasd/20190405-pleroma
beautification of pleroma stats
This commit is contained in:
commit
9e8134f949
1 changed files with 2 additions and 0 deletions
|
@ -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])) {
|
||||
|
|
Loading…
Reference in a new issue