Favorites are now being stored from activities
This commit is contained in:
@@ -91,12 +91,6 @@ class SalmonAction extends Action
|
||||
case ActivityVerb::SHARE:
|
||||
$this->handleShare();
|
||||
break;
|
||||
case ActivityVerb::FAVORITE:
|
||||
$this->handleFavorite();
|
||||
break;
|
||||
case ActivityVerb::UNFAVORITE:
|
||||
$this->handleUnfavorite();
|
||||
break;
|
||||
case ActivityVerb::FOLLOW:
|
||||
case ActivityVerb::FRIEND:
|
||||
$this->handleFollow();
|
||||
@@ -152,18 +146,6 @@ class SalmonAction extends Action
|
||||
throw new ClientException(_m('This target does not understand unfollows.'));
|
||||
}
|
||||
|
||||
function handleFavorite()
|
||||
{
|
||||
// TRANS: Client exception.
|
||||
throw new ClientException(_m('This target does not understand favorites.'));
|
||||
}
|
||||
|
||||
function handleUnfavorite()
|
||||
{
|
||||
// TRANS: Client exception.
|
||||
throw new ClientException(_m('This target does not understand unfavorites.'));
|
||||
}
|
||||
|
||||
function handleShare()
|
||||
{
|
||||
// TRANS: Client exception.
|
||||
|
Reference in New Issue
Block a user