Renamed installation helper method

This commit is contained in:
Alex Tselegidis 2020-09-07 11:15:58 +03:00
parent 769668c828
commit 5220e87249
3 changed files with 4 additions and 4 deletions

View file

@ -86,7 +86,7 @@ class Appointments extends CI_Controller {
{ {
try try
{ {
if ( ! is_ea_installed()) if ( ! is_app_installed())
{ {
redirect('installation/index'); redirect('installation/index');
return; return;

View file

@ -70,7 +70,7 @@ class Installation extends CI_Controller {
*/ */
public function index() public function index()
{ {
if (is_ea_installed()) if (is_app_installed())
{ {
redirect('appointments/index'); redirect('appointments/index');
return; return;
@ -88,7 +88,7 @@ class Installation extends CI_Controller {
{ {
try try
{ {
if (is_ea_installed()) if (is_app_installed())
{ {
return; return;
} }

View file

@ -21,7 +21,7 @@
* *
* @return bool Returns whether E!A is installed or not. * @return bool Returns whether E!A is installed or not.
*/ */
function is_ea_installed() function is_app_installed()
{ {
$framework =& get_instance(); $framework =& get_instance();