forked from GNUsocial/gnu-social
Removing unnecessary debug messages etc.
This commit is contained in:
parent
45446f17ad
commit
3f9c1c142a
@ -367,7 +367,6 @@ class ActivityUtils
|
|||||||
static function resolveUri($uri, $make_relative=false)
|
static function resolveUri($uri, $make_relative=false)
|
||||||
{
|
{
|
||||||
if (empty($uri)) {
|
if (empty($uri)) {
|
||||||
common_debug(_ve(debug_backtrace()));
|
|
||||||
throw new ServerException('No URI to resolve in ActivityUtils::resolveUri');
|
throw new ServerException('No URI to resolve in ActivityUtils::resolveUri');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -289,7 +289,6 @@ class EventPlugin extends ActivityVerbHandlerPlugin
|
|||||||
|
|
||||||
protected function showEvent(Notice $stored, HTMLOutputter $out, Profile $scoped=null)
|
protected function showEvent(Notice $stored, HTMLOutputter $out, Profile $scoped=null)
|
||||||
{
|
{
|
||||||
common_debug('shownotice'.$stored->getID());
|
|
||||||
$profile = $stored->getProfile();
|
$profile = $stored->getProfile();
|
||||||
$event = Happening::fromStored($stored);
|
$event = Happening::fromStored($stored);
|
||||||
|
|
||||||
|
@ -128,7 +128,6 @@ class RSVP extends Managed_DataObject
|
|||||||
static function saveActivityObject(Activity $act, Notice $stored)
|
static function saveActivityObject(Activity $act, Notice $stored)
|
||||||
{
|
{
|
||||||
$target = Notice::getByKeys(array('uri'=>$act->target->id));
|
$target = Notice::getByKeys(array('uri'=>$act->target->id));
|
||||||
common_debug('TARGET:'._ve($target));
|
|
||||||
if (!ActivityUtils::compareTypes($target->getObjectType(), [ Happening::OBJECT_TYPE ])) {
|
if (!ActivityUtils::compareTypes($target->getObjectType(), [ Happening::OBJECT_TYPE ])) {
|
||||||
throw new ClientException('RSVP not aimed at a Happening');
|
throw new ClientException('RSVP not aimed at a Happening');
|
||||||
}
|
}
|
||||||
|
@ -202,7 +202,6 @@ class FavoritePlugin extends ActivityVerbHandlerPlugin
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
common_debug('Extending activity '.$stored->id.' with '.get_called_class());
|
|
||||||
$this->extendActivity($stored, $act, $scoped);
|
$this->extendActivity($stored, $act, $scoped);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -146,7 +146,6 @@ class SharePlugin extends ActivityVerbHandlerPlugin
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
common_debug('Extending activity '.$stored->id.' with '.get_called_class());
|
|
||||||
$this->extendActivity($stored, $act, $scoped);
|
$this->extendActivity($stored, $act, $scoped);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user