Moving mod/feedtest to src/Module/Feedtest
This commit is contained in:
committed by
Hypolite Petovan
parent
ec2c84a4e9
commit
083820b107
@@ -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
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user