Remove debugging statements I accidentally left in

This commit is contained in:
Zach Copley 2011-02-16 16:21:31 -08:00
parent a1b436a8c6
commit 764a29e2ff

View File

@ -1252,8 +1252,6 @@ class Notice extends Memcached_DataObject
function asActivity() function asActivity()
{ {
common_debug("a");
$act = self::cacheGet(Cache::codeKey('notice:as-activity:'.$this->id)); $act = self::cacheGet(Cache::codeKey('notice:as-activity:'.$this->id));
if (!empty($act)) { if (!empty($act)) {
@ -1264,7 +1262,6 @@ class Notice extends Memcached_DataObject
if (Event::handle('StartNoticeAsActivity', array($this, &$act))) { if (Event::handle('StartNoticeAsActivity', array($this, &$act))) {
$profile = $this->getProfile(); $profile = $this->getProfile();
common_debug('b');
$act->actor = ActivityObject::fromProfile($profile); $act->actor = ActivityObject::fromProfile($profile);
$act->verb = ActivityVerb::POST; $act->verb = ActivityVerb::POST;
$act->objects[] = ActivityObject::fromNotice($this); $act->objects[] = ActivityObject::fromNotice($this);