From 5220e87249fc133857ee7d742858543163c2e6fe Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Mon, 7 Sep 2020 11:15:58 +0300 Subject: [PATCH] Renamed installation helper method --- application/controllers/Appointments.php | 2 +- application/controllers/Installation.php | 4 ++-- application/helpers/installation_helper.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/application/controllers/Appointments.php b/application/controllers/Appointments.php index c90c1b19..f1bcd0ad 100755 --- a/application/controllers/Appointments.php +++ b/application/controllers/Appointments.php @@ -86,7 +86,7 @@ class Appointments extends CI_Controller { { try { - if ( ! is_ea_installed()) + if ( ! is_app_installed()) { redirect('installation/index'); return; diff --git a/application/controllers/Installation.php b/application/controllers/Installation.php index 4c1aaa1e..8e38b7aa 100644 --- a/application/controllers/Installation.php +++ b/application/controllers/Installation.php @@ -70,7 +70,7 @@ class Installation extends CI_Controller { */ public function index() { - if (is_ea_installed()) + if (is_app_installed()) { redirect('appointments/index'); return; @@ -88,7 +88,7 @@ class Installation extends CI_Controller { { try { - if (is_ea_installed()) + if (is_app_installed()) { return; } diff --git a/application/helpers/installation_helper.php b/application/helpers/installation_helper.php index e8f74b16..6c78978b 100644 --- a/application/helpers/installation_helper.php +++ b/application/helpers/installation_helper.php @@ -21,7 +21,7 @@ * * @return bool Returns whether E!A is installed or not. */ -function is_ea_installed() +function is_app_installed() { $framework =& get_instance();