static function resolveUri($uri, $make_relative=false)
{
if (empty($uri)) {
- common_debug(_ve(debug_backtrace()));
throw new ServerException('No URI to resolve in ActivityUtils::resolveUri');
}
protected function showEvent(Notice $stored, HTMLOutputter $out, Profile $scoped=null)
{
- common_debug('shownotice'.$stored->getID());
$profile = $stored->getProfile();
$event = Happening::fromStored($stored);
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');
}
return true;
}
- common_debug('Extending activity '.$stored->id.' with '.get_called_class());
$this->extendActivity($stored, $act, $scoped);
return false;
}
return true;
}
- common_debug('Extending activity '.$stored->id.' with '.get_called_class());
$this->extendActivity($stored, $act, $scoped);
return false;
}