Removing unnecessary debug messages etc.
This commit is contained in:
@@ -289,7 +289,6 @@ class EventPlugin extends ActivityVerbHandlerPlugin
|
||||
|
||||
protected function showEvent(Notice $stored, HTMLOutputter $out, Profile $scoped=null)
|
||||
{
|
||||
common_debug('shownotice'.$stored->getID());
|
||||
$profile = $stored->getProfile();
|
||||
$event = Happening::fromStored($stored);
|
||||
|
||||
|
@@ -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