Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fusiondirectory
fd-plugins
Commits
80b02be0
Unverified
Commit
80b02be0
authored
Apr 24, 2019
by
Côme Chilliet
Browse files
🚑
fix(personal) Remove support for Google+ accounts
Goggle+ was closed on 2019-04-02 issue #5901
parent
5bfa5e21
Changes
1
Hide whitespace changes
Inline
Side-by-side
personal/personal/personal/class_socialHandlers.inc
View file @
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
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment