mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Fix last update for HAMqsl cron job
This commit is contained in:
@@ -451,6 +451,10 @@ class Update extends CI_Controller {
|
||||
} else {
|
||||
$this->session->set_flashdata('error', __("HAMqsl Update failed. Result: ") . "'" . $result . "'");
|
||||
}
|
||||
|
||||
$this->load->model('cron_model');
|
||||
$this->cron_model->set_last_run($this->router->class.'_'.$this->router->method);
|
||||
|
||||
redirect('debug');
|
||||
} else {
|
||||
echo $result;
|
||||
|
||||
@@ -566,7 +566,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?= __("HAMqsl"); ?></td>
|
||||
<td><?php echo $hon_update->last_run ?? __("never"); ?></td>
|
||||
<td><?php echo $hamqsl_update->last_run ?? __("never"); ?></td>
|
||||
<td><a class="btn btn-sm btn-primary" href="<?php echo site_url('update/update_hamqsl'); ?>"><?= __("Update"); ?></a></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user