From: Zach Copley Date: Tue, 5 Apr 2011 01:06:29 +0000 (-0700) Subject: QnA - Whoops - this actually removes the unused function mentioned in the last commit X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=84b328450fda99aa840d8a1c424be86ded2ebff5;p=quix0rs-gnu-social.git QnA - Whoops - this actually removes the unused function mentioned in the last commit --- diff --git a/plugins/QnA/QnAPlugin.php b/plugins/QnA/QnAPlugin.php index 38fd85e26a..fe42975065 100644 --- a/plugins/QnA/QnAPlugin.php +++ b/plugins/QnA/QnAPlugin.php @@ -279,24 +279,6 @@ class QnAPlugin extends MicroAppPlugin 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 *