From a0336ce48b6aa73f4b74a9f2760c01551c083ecd Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Sun, 6 Mar 2016 18:15:36 +0100 Subject: [PATCH] Unnecessary debug output --- classes/Notice.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/classes/Notice.php b/classes/Notice.php index 67336bd3dc..ad589d786b 100644 --- a/classes/Notice.php +++ b/classes/Notice.php @@ -308,7 +308,6 @@ class Notice extends Managed_DataObject // let's generate a valid link to our locally available notice on demand return common_local_url('shownotice', array('notice' => $this->getID()), null, null, false); default: - common_debug('No URL available for notice: id='.$this->getID()); throw new InvalidUrlException($this->url); } } @@ -521,9 +520,6 @@ class Notice extends Managed_DataObject if (!$notice->isLocal()) { // Only do these checks for non-local notices. Local notices will generate these values later. - if (!common_valid_http_url($url)) { - common_debug('Bad notice URL: ['.$url.'], URI: ['.$uri.']. Cannot link back to original! This is normal for shared notices etc.'); - } if (empty($uri)) { throw new ServerException('No URI for remote notice. Cannot accept that.'); } @@ -932,7 +928,6 @@ class Notice extends Managed_DataObject } if (array_key_exists('http://activityschema.org/collection/public', $act->context->attention)) { - common_debug('URI "http://activityschema.org/collection/public" was in notice attention, so we scope this public.'); $stored->scope = Notice::PUBLIC_SCOPE; // TODO: maybe we should actually keep this? if the saveAttentions thing wants to use it... unset($act->context->attention['http://activityschema.org/collection/public']); -- 2.39.5