1
0
Fork 0

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:
Michael Vogel 2018-08-07 17:06:51 +02:00 committed by Tobias Diekershoff
commit 8c2efa6df4
12 changed files with 12 additions and 41 deletions

View file

@ -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'].')');
}