changed last_run function to be more generic

This commit is contained in:
HB9HIL
2024-04-26 15:07:54 +02:00
parent 2e24330cc8
commit f2163cb2ba
7 changed files with 25 additions and 24 deletions

View File

@@ -26,7 +26,7 @@ class Clublog extends CI_Controller {
$this->load->model('clublog_model');
$this->load->model('cron_model');
$this->cron_model->set_last_run('upload_clublog');
$this->cron_model->set_last_run($this->router->class.'_'.$this->router->method);
$users = $this->clublog_model->get_clublog_users();