mirror of
https://github.com/friendica/friendica
synced 2025-04-27 07:10:12 +00:00
Change called method names
- Add GlobalContact::getRandomUrl - Rename Contact::getIdForURL - Rename Diaspora::sendUnshare - Remove unused parameter $self in Contact::terminateFriendship
This commit is contained in:
parent
b92fc24ff0
commit
ec02af593d
48 changed files with 133 additions and 133 deletions
|
@ -538,7 +538,7 @@ class Contact extends BaseObject
|
|||
*
|
||||
* @return integer Contact ID
|
||||
*/
|
||||
public static function getIdForUrl($url, $uid = 0, $no_update = false)
|
||||
public static function getIdForURL($url, $uid = 0, $no_update = false)
|
||||
{
|
||||
logger("Get contact data for url " . $url . " and user " . $uid . " - " . System::callstack(), LOGGER_DEBUG);
|
||||
|
||||
|
@ -603,7 +603,7 @@ class Contact extends BaseObject
|
|||
}
|
||||
|
||||
if (!$contact_id && ($data["alias"] != '') && ($data["alias"] != $url)) {
|
||||
$contact_id = self::getIdForUrl($data["alias"], $uid, true);
|
||||
$contact_id = self::getIdForURL($data["alias"], $uid, true);
|
||||
}
|
||||
|
||||
$url = $data["url"];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue