aboutsummaryrefslogtreecommitdiffstats
path: root/include/socgraph.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-04-02 21:49:50 -0700
committerzotlabs <mike@macgirvin.com>2017-04-02 21:49:50 -0700
commit263efbfe39d36a7133fca82e8e689435255fd9e2 (patch)
treeae355da487816b2733a266c98ca265e75667eed9 /include/socgraph.php
parent9a5ce2354d4abd7fd398bd10b1b22d7e09b6433b (diff)
downloadvolse-hubzilla-263efbfe39d36a7133fca82e8e689435255fd9e2.tar.gz
volse-hubzilla-263efbfe39d36a7133fca82e8e689435255fd9e2.tar.bz2
volse-hubzilla-263efbfe39d36a7133fca82e8e689435255fd9e2.zip
reference to deprecated function import_author_diaspora in socgraph.php
Diffstat (limited to 'include/socgraph.php')
-rw-r--r--include/socgraph.php10
1 files changed, 1 insertions, 9 deletions
diff --git a/include/socgraph.php b/include/socgraph.php
index 69365f80f..d28531c43 100644
--- a/include/socgraph.php
+++ b/include/socgraph.php
@@ -122,7 +122,7 @@ function poco_load($xchan = '', $url = null) {
$profile_url = $url['value'];
continue;
}
- if($url['type'] == 'zot' || $url['type'] == 'diaspora' || $url['type'] == 'friendica') {
+ if($url['type'] == 'zot') {
$network = $url['type'];
$address = str_replace('acct:' , '', $url['value']);
continue;
@@ -163,12 +163,6 @@ function poco_load($xchan = '', $url = null) {
continue;
}
}
- else {
- $x = import_author_diaspora(array('address' => $address));
- if(! $x) {
- continue;
- }
- }
}
else {
continue;
@@ -564,8 +558,6 @@ function poco($a,$extended = false) {
if($fields_ret['urls']) {
$entry['urls'] = array(array('value' => $rr['xchan_url'], 'type' => 'profile'));
$network = $rr['xchan_network'];
- if(strpos($network,'friendica') !== false)
- $network = 'friendica';
if($rr['xchan_addr'])
$entry['urls'][] = array('value' => 'acct:' . $rr['xchan_addr'], 'type' => $network);
}