mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-06-06 17:24:26 +02:00
remove obvious type cast
This commit is contained in:
parent
db875bc755
commit
38a8e9a169
1 changed files with 2 additions and 2 deletions
|
@ -368,12 +368,12 @@ class Services_Libravatar
|
|||
// important bit out.
|
||||
if (filter_var($identifier, FILTER_VALIDATE_EMAIL)) {
|
||||
$email = explode('@', $identifier);
|
||||
return (string) $email[1];
|
||||
return $email[1];
|
||||
}
|
||||
|
||||
//OpenID
|
||||
$url = parse_url($identifier);
|
||||
$domain = (string) $url['host'];
|
||||
$domain = $url['host'];
|
||||
if (isset($url['port']) && $url['scheme'] === 'http'
|
||||
&& $url['port'] != 80
|
||||
|| isset($url['port']) && $url['scheme'] === 'https'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue