Review changes

Update update and new functions to updateFromProbe and create. Update calls to renamed functions.
This commit is contained in:
Adam Magness 2018-01-09 11:23:26 -05:00
parent 484eb960d7
commit c81e83c500
7 changed files with 9 additions and 9 deletions

View file

@ -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' => '');