Rename JCC model

This commit is contained in:
phl0
2024-02-24 16:30:53 +01:00
parent d0b83fd056
commit f95cf41dea
2 changed files with 4 additions and 4 deletions

View File

@@ -250,7 +250,7 @@ class Awards extends CI_Controller {
public function jcc () {
$footerData = [];
$this->load->model('jcc');
$this->load->model('jcc_model');
$this->load->model('modes');
$this->load->model('bands');
@@ -310,8 +310,8 @@ class Awards extends CI_Controller {
$postdata['mode'] = 'All';
}
$data['jcc_array'] = $this->jcc->get_jcc_array($bands, $postdata);
$data['jcc_summary'] = $this->jcc->get_jcc_summary($bands, $postdata);
$data['jcc_array'] = $this->jcc_model->get_jcc_array($bands, $postdata);
$data['jcc_summary'] = $this->jcc_model->get_jcc_summary($bands, $postdata);
// Render Page
$data['page_title'] = "Awards - JCC";

View File

@@ -1,6 +1,6 @@
<?php
class Jcc extends CI_Model {
class Jcc_model extends CI_Model {
function __construct() {
$this->load->library('Genfunctions');