Newer
Older

Yassine Doghri
committed
<?php

Yassine Doghri
committed

Yassine Doghri
committed
/**
* @copyright 2020 Podlibre
* @license https://www.gnu.org/licenses/agpl-3.0.en.html AGPL3
* @link https://castopod.org/
*/
namespace App\Controllers;

Yassine Doghri
committed
use CodeIgniter\Controller;
class UnknownUserAgents extends Controller
{

Yassine Doghri
committed
public function index($lastKnownId = 0)
{
$model = new \App\Models\UnknownUserAgentsModel();

Yassine Doghri
committed
return $this->response->setJSON($model->getUserAgents($lastKnownId));