forked from mirrors/easyappointments
Fixed "$this was not undefined" error.
This commit is contained in:
parent
416428ee4e
commit
1075855e04
1 changed files with 2 additions and 2 deletions
|
@ -13,6 +13,6 @@
|
||||||
* @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_ea_installed() {
|
||||||
return $this->db->table_exists('ea_users');
|
$ci =& get_instance();
|
||||||
|
return $ci->db->table_exists('ea_users');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue