From f95cf41dea88630eea44dc1fc2d19dd209dedcdc Mon Sep 17 00:00:00 2001 From: phl0 Date: Sat, 24 Feb 2024 16:30:53 +0100 Subject: [PATCH] Rename JCC model --- application/controllers/Awards.php | 6 +++--- application/models/{Jcc.php => Jcc_model.php} | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) rename application/models/{Jcc.php => Jcc_model.php} (99%) diff --git a/application/controllers/Awards.php b/application/controllers/Awards.php index 1cd9c8fc3..0afae0c29 100644 --- a/application/controllers/Awards.php +++ b/application/controllers/Awards.php @@ -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"; diff --git a/application/models/Jcc.php b/application/models/Jcc_model.php similarity index 99% rename from application/models/Jcc.php rename to application/models/Jcc_model.php index 1810f0a1e..b60ea6683 100644 --- a/application/models/Jcc.php +++ b/application/models/Jcc_model.php @@ -1,6 +1,6 @@ load->library('Genfunctions');