mirror of
https://github.com/friendica/friendica
synced 2025-04-21 22:30:11 +00:00
Review changes
Update update and new functions to updateFromProbe and create. Update calls to renamed functions.
This commit is contained in:
parent
484eb960d7
commit
c81e83c500
7 changed files with 9 additions and 9 deletions
|
@ -1016,7 +1016,7 @@ class Contact extends BaseObject
|
|||
* @param integer $id contact id
|
||||
* @return boolean
|
||||
*/
|
||||
public static function update($id)
|
||||
public static function updateFromProbe($id)
|
||||
{
|
||||
/*
|
||||
Warning: Never ever fetch the public key via Probe::uri and write it into the contacts.
|
||||
|
@ -1089,7 +1089,7 @@ class Contact extends BaseObject
|
|||
* @param string $network
|
||||
* @return boolean|string
|
||||
*/
|
||||
public static function add($uid, $url, $interactive = false, $network = '')
|
||||
public static function create($uid, $url, $interactive = false, $network = '')
|
||||
{
|
||||
$result = array('cid' => -1, 'success' => false, 'message' => '');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue