Commit db964bae authored by Côme Chilliet's avatar Côme Chilliet
Browse files

Merge branch...

Merge branch '5901-add-and-remove-some-options-in-ajout-d-options-in-compte-reseau-social' into '1.4-dev'

Remove Google+ support from personal

See merge request fusiondirectory/fd-plugins!518
parents 5c93514a 96486b8f
<?php
/*
This code is part of FusionDirectory (http://www.fusiondirectory.org/)
Copyright (C) 2014-2016 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