git.gnu.io has moved to IP address 209.51.188.249 -- please double check where you are logging in.

Commit 3f9c1c14 authored by mmn's avatar mmn

Removing unnecessary debug messages etc.

parent 45446f17
......@@ -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');
}
......
......@@ -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');
}
......
......@@ -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;
}
......
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment