forked from GNUsocial/gnu-social
Don't spew warnings for URL shortener plugins that don't declare if they're free services.
This commit is contained in:
parent
fd650715fa
commit
201cbb56b6
@ -103,7 +103,7 @@ class OthersettingsAction extends AccountSettingsAction
|
||||
foreach($_shorteners as $name=>$value)
|
||||
{
|
||||
$services[$name]=$name;
|
||||
if($value['info']['freeService']){
|
||||
if(!empty($value['info']['freeService'])){
|
||||
// I18N
|
||||
$services[$name].=' (free service)';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user