Unverified Commit 80b02be0 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

🚑 fix(personal) Remove support for Google+ accounts

Goggle+ was closed on 2019-04-02

issue #5901
parent 5bfa5e21
<?php
/*
This code is part of FusionDirectory (http://www.fusiondirectory.org/)
Copyright (C) 2014-2018 FusionDirectory
Copyright (C) 2014-2019 FusionDirectory
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
......@@ -91,26 +92,6 @@ class socialHandler_twitter extends socialHandler
}
}
class socialHandler_gplus extends socialHandler
{
static function getName()
{
return _('Google+');
}
protected $baseurl = 'https://plus.google.com';
function linkify($value)
{
return $this->link($this->baseurl.'/+'.$value, '+'.$value);
}
function validate($value)
{
return preg_replace('/^\+/', '', $value);
}
}
class socialHandler_diaspora extends socialHandler
{
static function getName()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment