mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-28 19:03:21 +03:00
Renamed installation helper method
This commit is contained in:
parent
769668c828
commit
5220e87249
3 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue