Facebook and App.net is removed from nearly all places (#5581)
* Facebook is removed from nearly all places * Remove app.net as well - it's dead for some time now
This commit is contained in:
parent
e62c1c3f81
commit
8c2efa6df4
12 changed files with 12 additions and 41 deletions
|
@ -151,7 +151,7 @@ class GContact
|
|||
throw new Exception("This (".$gcontact['url'].") doesn't seem to be an url.");
|
||||
}
|
||||
|
||||
if (in_array($urlparts["host"], ["www.facebook.com", "facebook.com", "twitter.com", "identi.ca", "alpha.app.net"])) {
|
||||
if (in_array($urlparts["host"], ["twitter.com", "identi.ca"])) {
|
||||
throw new Exception('Contact from a non federated network ignored. ('.$gcontact['url'].')');
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue