2020-07-10 12:20:25 +00:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* @copyright 2020 Podlibre
|
|
|
|
* @license https://www.gnu.org/licenses/agpl-3.0.en.html AGPL3
|
|
|
|
* @link https://castopod.org/
|
|
|
|
*/
|
|
|
|
|
|
|
|
namespace App\Controllers;
|
2020-06-12 20:41:09 +00:00
|
|
|
use CodeIgniter\Controller;
|
|
|
|
|
|
|
|
class UnknownUserAgents extends Controller
|
|
|
|
{
|
2020-07-02 10:08:32 +00:00
|
|
|
public function index($last_known_id = 0)
|
2020-06-12 20:41:09 +00:00
|
|
|
{
|
|
|
|
$model = new \App\Models\UnknownUserAgentsModel();
|
|
|
|
|
2020-07-02 10:08:32 +00:00
|
|
|
return $this->response->setJSON($model->getUserAgents($last_known_id));
|
2020-06-12 20:41:09 +00:00
|
|
|
}
|
|
|
|
}
|