mirror of
https://github.com/friendica/friendica
synced 2024-11-10 02:22:55 +00:00
Update src/Database/View.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
parent
7e6a9bd893
commit
eb48a36061
1 changed files with 4 additions and 4 deletions
|
@ -168,10 +168,10 @@ class View
|
|||
$status = DBA::selectFirst(['INFORMATION_SCHEMA' => 'TABLES'], ['TABLE_TYPE'],
|
||||
['TABLE_SCHEMA' => DBA::databaseName(), 'TABLE_NAME' => $table]);
|
||||
|
||||
if (empty($status['TABLE_TYPE'])) {
|
||||
return false;
|
||||
}
|
||||
if (empty($status['TABLE_TYPE'])) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return $status['TABLE_TYPE'] == 'BASE TABLE';
|
||||
return $status['TABLE_TYPE'] == 'BASE TABLE';
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue