mirror of
https://github.com/friendica/friendica
synced 2025-04-27 11:50:11 +00:00
Move mod/(update_)display.php to src\Module
This commit is contained in:
parent
5c05a3b0f6
commit
3259bd17dc
6 changed files with 461 additions and 388 deletions
|
@ -3476,4 +3476,17 @@ class Contact
|
|||
|
||||
return [];
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks, if contacts with the given condition exists
|
||||
*
|
||||
* @param array $condition
|
||||
*
|
||||
* @return bool
|
||||
* @throws \Exception
|
||||
*/
|
||||
public static function exists(array $condition): bool
|
||||
{
|
||||
return DBA::exists('contact', $condition);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue