Removing unnecessary debug messages etc.

This commit is contained in:
Mikael Nordfeldth 2016-01-21 02:49:34 +01:00
parent 45446f17ad
commit 3f9c1c142a
5 changed files with 0 additions and 5 deletions

View File

@ -367,7 +367,6 @@ class ActivityUtils
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');
}

View File

@ -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);

View File

@ -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');
}

View File

@ -202,7 +202,6 @@ class FavoritePlugin extends ActivityVerbHandlerPlugin
return true;
}
common_debug('Extending activity '.$stored->id.' with '.get_called_class());
$this->extendActivity($stored, $act, $scoped);
return false;
}

View File

@ -146,7 +146,6 @@ class SharePlugin extends ActivityVerbHandlerPlugin
return true;
}
common_debug('Extending activity '.$stored->id.' with '.get_called_class());
$this->extendActivity($stored, $act, $scoped);
return false;
}