Remove debugging statements I accidentally left in
This commit is contained in:
parent
a1b436a8c6
commit
764a29e2ff
|
@ -1252,8 +1252,6 @@ class Notice extends Memcached_DataObject
|
|||
|
||||
function asActivity()
|
||||
{
|
||||
common_debug("a");
|
||||
|
||||
$act = self::cacheGet(Cache::codeKey('notice:as-activity:'.$this->id));
|
||||
|
||||
if (!empty($act)) {
|
||||
|
@ -1264,7 +1262,6 @@ class Notice extends Memcached_DataObject
|
|||
if (Event::handle('StartNoticeAsActivity', array($this, &$act))) {
|
||||
|
||||
$profile = $this->getProfile();
|
||||
common_debug('b');
|
||||
$act->actor = ActivityObject::fromProfile($profile);
|
||||
$act->verb = ActivityVerb::POST;
|
||||
$act->objects[] = ActivityObject::fromNotice($this);
|
||||
|
|
Loading…
Reference in New Issue
Block a user