mirror of
https://github.com/friendica/friendica
synced 2025-04-26 10:30:11 +00:00
Changes:
- let's get rid of that `Database::exists()` is being misused for checking table existence - reformatted array
This commit is contained in:
parent
f689faca99
commit
804b759df1
2 changed files with 8 additions and 2 deletions
|
@ -825,6 +825,7 @@ class Database
|
|||
*
|
||||
* @return boolean Are there rows for that condition?
|
||||
* @throws \Exception
|
||||
* @todo Get rid of the DBStructure::existsTable() invocation
|
||||
*/
|
||||
public function exists(string $table, array $condition): bool
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue