mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 17:29:21 +02:00
tableExist is deprecated
This commit is contained in:
parent
e08557e5ae
commit
dbf09ef361
@ -40,7 +40,7 @@ class Usage_Statistics {
|
||||
$ret['myaac_version'] = MYAAC_VERSION;
|
||||
$ret['myaac_db_version'] = DATABASE_VERSION;
|
||||
|
||||
if(tableExist('server_config')) {
|
||||
if($db->hasTable('server_config')) {
|
||||
$query = $db->query('SELECT `value` FROM `server_config` WHERE `config` = ' . $db->quote('database_version'));
|
||||
if($query->rowCount() == 1) {
|
||||
$query = $query->fetch();
|
||||
|
Loading…
x
Reference in New Issue
Block a user