|
@@ 125-127 (lines=3) @@
|
| 122 |
|
'values' => ZeroFiller::fill($registered, 'x', 'y', $this->params['interval']), |
| 123 |
|
]; |
| 124 |
|
} |
| 125 |
|
if ($unregistered) { |
| 126 |
|
[ |
| 127 |
|
'key' => lang('Count of unique unregistered users', 'mod_stats'), |
| 128 |
|
'values' => ZeroFiller::fill($unregistered, 'x', 'y', $this->params['interval']), |
| 129 |
|
]; |
| 130 |
|
} |
|
@@ 119-121 (lines=3) @@
|
| 116 |
|
$this->controller->import('classes/ZeroFiller'); |
| 117 |
|
|
| 118 |
|
$response = []; |
| 119 |
|
if ($registered) { |
| 120 |
|
$response[] = [ |
| 121 |
|
'key' => lang('Count of unique registered users', 'mod_stats'), |
| 122 |
|
'values' => ZeroFiller::fill($registered, 'x', 'y', $this->params['interval']), |
| 123 |
|
]; |
| 124 |
|
} |