QnA - Whoops - this actually removes the unused function mentioned in the last commit
This commit is contained in:
parent
4fea746913
commit
84b328450f
@ -279,24 +279,6 @@ class QnAPlugin extends MicroAppPlugin
|
|||||||
return $obj;
|
return $obj;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Change the verb on Answer notices
|
|
||||||
*
|
|
||||||
* @param Notice $notice
|
|
||||||
*
|
|
||||||
* @return ActivityObject
|
|
||||||
*/
|
|
||||||
|
|
||||||
function onEndNoticeAsActivity($notice, &$act) {
|
|
||||||
switch ($notice->object_type) {
|
|
||||||
case Answer::NORMAL:
|
|
||||||
case Answer::ANONYMOUS:
|
|
||||||
$act->verb = $notice->object_type;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Output our CSS class for QnA notice list elements
|
* Output our CSS class for QnA notice list elements
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user