Moving mod/feedtest to src/Module/Feedtest

This commit is contained in:
Philipp Holzer 2019-03-01 10:50:31 +01:00 committed by Hypolite Petovan
parent ec2c84a4e9
commit 083820b107
3 changed files with 65 additions and 50 deletions

View file

@ -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
*