mirror of
https://code.castopod.org/adaures/castopod
synced 2025-05-11 16:55:46 +00:00
23 lines
526 B
PHP
23 lines
526 B
PHP
<?php
|
|
|
|
/**
|
|
* @copyright 2020 Podlibre
|
|
* @license https://www.gnu.org/licenses/agpl-3.0.en.html AGPL3
|
|
* @link https://castopod.org/
|
|
*/
|
|
|
|
namespace Analytics\Controllers;
|
|
|
|
use CodeIgniter\HTTP\ResponseInterface;
|
|
use CodeIgniter\Controller;
|
|
|
|
class UnknownUserAgentsController extends Controller
|
|
{
|
|
public function index(int $lastKnownId = 0): ResponseInterface
|
|
{
|
|
$model = model('AnalyticsUnknownUserAgentsModel');
|
|
|
|
return $this->response->setJSON($model->getUserAgents($lastKnownId));
|
|
}
|
|
}
|