From c3eafc3d0c29aed8cf3ed8888ab1068dac2d8000 Mon Sep 17 00:00:00 2001 From: Tomasz Wolniewicz <twoln@umk.pl> Date: Wed, 28 Aug 2024 18:10:29 +0200 Subject: [PATCH] Adding entity count to show_federation --- lib/API.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/API.php b/lib/API.php index 1168829..591ff82 100644 --- a/lib/API.php +++ b/lib/API.php @@ -530,7 +530,7 @@ class API { 'header' => "Show federation detils.", 'supportedFormats' => ['json', 'print_r'], 'arguments' => [ - $this->addStdArgument('fed_id', TRUE), + $this->addStdArgument('fed_id'), $this->addStdArgument('reg_auth'), $this->addStdArgument('format'), ], @@ -555,6 +555,7 @@ class API { $show_email = 1; } $edugain->load_federation_details('sha1', $show_email); + $edugain->load_federation_stats(); $out = $edugain->FEDS[$this->fed_id]; return $out; } -- GitLab