From: Mikael Nordfeldth Date: Thu, 21 Jan 2016 01:49:34 +0000 (+0100) Subject: Removing unnecessary debug messages etc. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3f9c1c142a91f9b4f1d8227ac2d86aeb9bed631c;p=quix0rs-gnu-social.git Removing unnecessary debug messages etc. --- diff --git a/lib/activityutils.php b/lib/activityutils.php index 94cf8544b1..b86dd65909 100644 --- a/lib/activityutils.php +++ b/lib/activityutils.php @@ -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'); } diff --git a/plugins/Event/EventPlugin.php b/plugins/Event/EventPlugin.php index ed78b156e1..82ba2c19cb 100644 --- a/plugins/Event/EventPlugin.php +++ b/plugins/Event/EventPlugin.php @@ -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); diff --git a/plugins/Event/classes/RSVP.php b/plugins/Event/classes/RSVP.php index 1fec6c33a2..84cbd624dc 100644 --- a/plugins/Event/classes/RSVP.php +++ b/plugins/Event/classes/RSVP.php @@ -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'); } diff --git a/plugins/Favorite/FavoritePlugin.php b/plugins/Favorite/FavoritePlugin.php index aa1e2e339a..d3a3fa86f7 100644 --- a/plugins/Favorite/FavoritePlugin.php +++ b/plugins/Favorite/FavoritePlugin.php @@ -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; } diff --git a/plugins/Share/SharePlugin.php b/plugins/Share/SharePlugin.php index d34bcc779e..597fd652db 100644 --- a/plugins/Share/SharePlugin.php +++ b/plugins/Share/SharePlugin.php @@ -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; }