mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 01:25:21 +02:00
Remove obsolote functions
This commit is contained in:
parent
058c93a64c
commit
f27bc00464
8 changed files with 117 additions and 333 deletions
|
@ -1,5 +1,6 @@
|
|||
<?php
|
||||
require_once("include/Contact.php");
|
||||
require_once('include/Probe.php');
|
||||
|
||||
function profiles_init(&$a) {
|
||||
|
||||
|
@ -251,7 +252,7 @@ function profiles_post(&$a) {
|
|||
$lookup = str_replace('_',' ', $lookup);
|
||||
if(strpos($lookup,'@') || (strpos($lookup,'http://'))) {
|
||||
$newname = $lookup;
|
||||
$links = @lrdd($lookup);
|
||||
$links = @Probe::lrdd($lookup);
|
||||
if(count($links)) {
|
||||
foreach($links as $link) {
|
||||
if($link['@attributes']['rel'] === 'http://webfinger.net/rel/profile-page') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue