Commit f6055e9f 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.3-fixes'

Remove Google+ support from personal in 1.3-fixes

See merge request fusiondirectory/fd-plugins!519
parents 5bfa5e21 80b02be0
<?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()
......
Markdown is supported
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