Move mod/(update_)display.php to src\Module

This commit is contained in:
Philipp 2022-11-15 00:52:38 +01:00
parent 5c05a3b0f6
commit 3259bd17dc
No known key found for this signature in database
GPG key ID: 24A7501396EB5432
6 changed files with 461 additions and 388 deletions

View file

@ -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);
}
}