forked from GNUsocial/gnu-social
remove debugging statements
This commit is contained in:
parent
861b2c56d9
commit
f5a764117f
@ -224,7 +224,6 @@ class ActivityPlugin extends Plugin
|
|||||||
$act = Notice_activity::staticGet('notice_id', $notice->id);
|
$act = Notice_activity::staticGet('notice_id', $notice->id);
|
||||||
|
|
||||||
if (!empty($act)) {
|
if (!empty($act)) {
|
||||||
$this->debug("Have an activity ({$act->notice_id}, {$act->verb}, {$act->object})");
|
|
||||||
$verb = $act->verb;
|
$verb = $act->verb;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -236,7 +235,6 @@ class ActivityPlugin extends Plugin
|
|||||||
$act = Notice_activity::staticGet('notice_id', $notice->id);
|
$act = Notice_activity::staticGet('notice_id', $notice->id);
|
||||||
|
|
||||||
if (!empty($act)) {
|
if (!empty($act)) {
|
||||||
$this->debug("Have an activity ({$act->notice_id}, {$act->verb}, {$act->object})");
|
|
||||||
// no default object
|
// no default object
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@ -249,7 +247,6 @@ class ActivityPlugin extends Plugin
|
|||||||
$act = Notice_activity::staticGet('notice_id', $notice->id);
|
$act = Notice_activity::staticGet('notice_id', $notice->id);
|
||||||
|
|
||||||
if (!empty($act)) {
|
if (!empty($act)) {
|
||||||
$this->debug("Have an activity ({$act->notice_id}, {$act->verb}, {$act->object})");
|
|
||||||
switch ($act->verb)
|
switch ($act->verb)
|
||||||
{
|
{
|
||||||
case ActivityVerb::FOLLOW:
|
case ActivityVerb::FOLLOW:
|
||||||
|
Loading…
Reference in New Issue
Block a user