TagProfileAction and OStatusPlugin now use less redundant code

This commit is contained in:
Mikael Nordfeldth
2015-03-08 20:10:20 +01:00
parent 32dacb9369
commit 55894f02c7
3 changed files with 16 additions and 81 deletions

View File

@@ -2147,7 +2147,6 @@ class Ostatus_profile extends Managed_DataObject
throw new ServerException(sprintf(_m('Unrecognized URI protocol for profile: %1$s (%2$s).'),
$protocol,
$uri));
break;
}
} else {
// TRANS: Server exception. %s is a URI.