Don't spew warnings for URL shortener plugins that don't declare if they're free services.

This commit is contained in:
Brion Vibber 2009-10-29 14:29:52 -04:00
parent fd650715fa
commit 201cbb56b6

View File

@ -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)';
}