]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Removing unnecessary debug messages etc.
authorMikael Nordfeldth <mmn@hethane.se>
Thu, 21 Jan 2016 01:49:34 +0000 (02:49 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Thu, 21 Jan 2016 01:49:34 +0000 (02:49 +0100)
lib/activityutils.php
plugins/Event/EventPlugin.php
plugins/Event/classes/RSVP.php
plugins/Favorite/FavoritePlugin.php
plugins/Share/SharePlugin.php

index 94cf8544b1a476c247f5ca955ee70617965680c7..b86dd6590928501db8080a819f73037666f4b68c 100644 (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');
         }
 
index ed78b156e1f7d20d4427407068bed4d35730dd9c..82ba2c19cb96d580abf770f52f2d1ddb1128bdfa 100644 (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);
 
index 1fec6c33a2e6da284298a69e5350be9bbee84455..84cbd624dc428f0c854c439a25f002605f87d74c 100644 (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');
         }
index aa1e2e339a904170b5d96547d6777004f678baa1..d3a3fa86f723ad378be45fae1109328fc54ebb94 100644 (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;
     }
index d34bcc779e2b2253efcd5d907270af17e16d0af4..597fd652dbeff41c95367beb76a269e56401913a 100644 (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;
     }