Push before checkout

Only indents
This commit is contained in:
MatthieuLP
2021-03-17 10:52:07 +01:00
committed by plegall
parent 6fbb6a22fc
commit 9656d0459e
2 changed files with 8 additions and 5 deletions
+4 -4
View File
@@ -142,10 +142,6 @@ function ws_getInfos($params, &$service)
$query = 'SELECT COUNT(*) FROM '.CATEGORIES_TABLE.';';
list($infos['nb_categories']) = pwg_db_fetch_row(pwg_query($query));
// Cache size
// TODO for real later
$infos['cache_size'] = 4242;
$query = 'SELECT COUNT(*) FROM '.CATEGORIES_TABLE.' WHERE dir IS NULL;';
list($infos['nb_virtual']) = pwg_db_fetch_row(pwg_query($query));
@@ -184,6 +180,10 @@ function ws_getInfos($params, &$service)
list($infos['nb_unvalidated_comments']) = pwg_db_fetch_row(pwg_query($query));
}
// Cache size
// TODO for real later
$infos['cache_size'] = 4242;
foreach ($infos as $name => $value)
{
$output[] = array(