refactoring infinity metric calculation cli script, adding project id and after
options.
This commit is contained in:
parent
9382e4cec5
commit
77d423e645
1 changed files with 7 additions and 0 deletions
|
@ -385,6 +385,13 @@ class CreateInfMetric extends Action
|
||||||
$this->createInfMetric($dbForProject, 'users', $users);
|
$this->createInfMetric($dbForProject, 'users', $users);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @throws Exception\Authorization
|
||||||
|
* @throws Exception\Structure
|
||||||
|
* @throws Exception\Restricted
|
||||||
|
* @throws Exception\Conflict
|
||||||
|
* @throws Exception
|
||||||
|
*/
|
||||||
private function sessions(Database $dbForProject)
|
private function sessions(Database $dbForProject)
|
||||||
{
|
{
|
||||||
$users = $dbForProject->count('sessions');
|
$users = $dbForProject->count('sessions');
|
||||||
|
|
Loading…
Reference in a new issue