mirror of
https://code.castopod.org/adaures/castopod.git
synced 2024-09-04 01:47:19 +02:00
- rename podlibre to adaures - rename castopod-host to castopod - simplify README and redirect to docs site - move INSTALL and UPDATE docs - add new gitlabci pipeline to deploy docs - upgrade node to v16 in Dockerfile
25 lines
560 B
PHP
25 lines
560 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
/**
|
|
* @copyright 2020 Ad Aures
|
|
* @license https://www.gnu.org/licenses/agpl-3.0.en.html AGPL3
|
|
* @link https://castopod.org/
|
|
*/
|
|
|
|
namespace Modules\Analytics\Controllers;
|
|
|
|
use CodeIgniter\Controller;
|
|
use CodeIgniter\HTTP\ResponseInterface;
|
|
|
|
class UnknownUserAgentsController extends Controller
|
|
{
|
|
public function index(int $lastKnownId = 0): ResponseInterface
|
|
{
|
|
$model = model('AnalyticsUnknownUserAgentsModel');
|
|
|
|
return $this->response->setJSON($model->getUserAgents($lastKnownId));
|
|
}
|
|
}
|