forked from GNUsocial/gnu-social
Removing unnecessary debug messages etc.
This commit is contained in:
@@ -128,7 +128,6 @@ class RSVP extends Managed_DataObject
|
||||
static function saveActivityObject(Activity $act, Notice $stored)
|
||||
{
|
||||
$target = Notice::getByKeys(array('uri'=>$act->target->id));
|
||||
common_debug('TARGET:'._ve($target));
|
||||
if (!ActivityUtils::compareTypes($target->getObjectType(), [ Happening::OBJECT_TYPE ])) {
|
||||
throw new ClientException('RSVP not aimed at a Happening');
|
||||
}
|
||||
|
Reference in New Issue
Block a user