X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=mod%2Fadmin.php;h=1fa8cb2c021b56bb3a94777518b6ac2d4868efb4;hb=1a8d8e4c07d8af0b31c91eb522c296e6c044e846;hp=5625bb98d799dc27ced82cbcc9f63a725220566c;hpb=cea80c78e42ff059b1645c0449af2d624238f03c;p=friendica.git diff --git a/mod/admin.php b/mod/admin.php index 5625bb98d7..1fa8cb2c02 100644 --- a/mod/admin.php +++ b/mod/admin.php @@ -505,7 +505,7 @@ function admin_page_deleteitem_post(App $a) // associated threads. $r = dba::select('item', ['id'], ['guid' => $guid]); while ($row = dba::fetch($r)) { - Item::delete($row['id']); + Item::deleteById($row['id']); } dba::close($r); } @@ -539,7 +539,7 @@ function admin_page_federation(App $a) // off one % two of them are needed in the query // Add more platforms if you like, when one returns 0 known nodes it is not // displayed on the stats page. - $platforms = ['Friendi%%a', 'Diaspora', '%%red%%', 'Hubzilla', 'BlaBlaNet', 'GNU Social', 'StatusNet', 'Mastodon', 'Pleroma', 'socialhome']; + $platforms = ['Friendi%%a', 'Diaspora', '%%red%%', 'Hubzilla', 'BlaBlaNet', 'GNU Social', 'StatusNet', 'Mastodon', 'Pleroma', 'socialhome', 'ganggo']; $colors = [ 'Friendi%%a' => '#ffc018', // orange from the logo 'Diaspora' => '#a1a1a1', // logo is black and white, makes a gray @@ -550,7 +550,8 @@ function admin_page_federation(App $a) 'StatusNet' => '#789240', // the green from the logo (red and blue have already others 'Mastodon' => '#1a9df9', // blue from the Mastodon logo 'Pleroma' => '#E46F0F', // Orange from the text that is used on Pleroma instances - 'socialhome' => '#52056b' // lilac from the Django Image used at the Socialhome homepage + 'socialhome' => '#52056b' , // lilac from the Django Image used at the Socialhome homepage + 'ganggo' => '#69d7e2' // from the favicon ]; $counts = []; $total = 0;