mirror of
https://github.com/friendica/friendica
synced 2025-04-26 22:30:18 +00:00
Moving mod/feedtest to src/Module/Feedtest
This commit is contained in:
parent
ec2c84a4e9
commit
083820b107
3 changed files with 65 additions and 50 deletions
|
@ -109,6 +109,16 @@ class Contact extends BaseObject
|
|||
* @}
|
||||
*/
|
||||
|
||||
/**
|
||||
* @param integer $id
|
||||
* @return array|boolean Contact record if it exists, false otherwise
|
||||
* @throws \Exception
|
||||
*/
|
||||
public static function getById($id)
|
||||
{
|
||||
return DBA::selectFirst('contact', [], ['id' => $id]);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Tests if the given contact is a follower
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue