Favorites are now being stored from activities

This commit is contained in:
Mikael Nordfeldth
2014-07-02 00:22:27 +02:00
parent 2e6a32c7be
commit c44146d6f8
7 changed files with 98 additions and 117 deletions

View File

@@ -398,7 +398,7 @@ class ActivityUtils
if (!empty($object)) {
Event::handle('EndFindLocalActivityObject', array($object->getUri(), $type, $object));
} else {
throw new Exception('Could not find any activityobject stored locally with given URI');
throw new ServerException('Could not find any activityobject stored locally with given URI');
}
return $object;
}